Class: Actions::Helpers::Presenter::Base

Inherits:
Object
  • Object
show all
Includes:
Algebrick::TypeCheck
Defined in:
app/lib/actions/helpers/presenter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(action) ⇒ Base

Returns a new instance of Base.



16
17
18
# File 'app/lib/actions/helpers/presenter.rb', line 16

def initialize(action)
  @action = action
end

Instance Attribute Details

#actionObject (readonly)

Returns the value of attribute action.



14
15
16
# File 'app/lib/actions/helpers/presenter.rb', line 14

def action
  @action
end

Instance Method Details

#humanized_outputObject



20
21
22
# File 'app/lib/actions/helpers/presenter.rb', line 20

def humanized_output
  fail NotImplementedError
end