class Amelia::ViewHelpers::ActionView::Greet

Public Class Methods

new(name) click to toggle source
# File lib/amelia/view_helpers/action_view.rb, line 9
def initialize name
  @hello = "Hi #{name} !"
end

Public Instance Methods

message() click to toggle source
# File lib/amelia/view_helpers/action_view.rb, line 13
def message
  @hello
 end