Class: Amelia::ViewHelpers::ActionView::Greet
- Defined in:
- lib/amelia/view_helpers/action_view.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ Greet
constructor
A new instance of Greet.
- #message ⇒ Object
Constructor Details
#initialize(name) ⇒ Greet
Returns a new instance of Greet.
9 10 11 |
# File 'lib/amelia/view_helpers/action_view.rb', line 9 def initialize name @hello = "Hi #{name} !" end |
Instance Method Details
#message ⇒ Object
13 14 15 |
# File 'lib/amelia/view_helpers/action_view.rb', line 13 def @hello end |