Displaying 1 result from an estimated 1 matches for "vltvj0dkdfoj".
2012 Nov 06
1
Understanding the Rails /lib/ Directory
I am trying to learn how the Rails /lib/ directory works - and how to
reference variables defined in a file placed in the the /lib/
directory for use in a View.
I have a file called helloworld.rb and it''s saved in the /lib/
directory in my Rails application.
The helloworld.rb file has the following code:
module HelloWorld
def hello
@howdy = "Hello World!"