Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

function is uninitialized constant ruby

#You cannot use upper case in functions in Ruby. If you do, ruby considers it as a constant.

def ThisActsAsAConstant
	puts "This works, only if it shows that where you execute you ruby script"
end
 
PREVIOUS NEXT
Tagged: #function #uninitialized #constant #ruby
ADD COMMENT
Topic
Name
3+7 =