Class: Embryo::RubyTemplate::Action
- Inherits:
-
Embryo::RubyTemplate
- Object
- Embryo::RubyTemplate
- Embryo::RubyTemplate::Action
- Defined in:
- lib/rails-embryo/ruby_template/action.rb
Defined Under Namespace
Classes: Create, Destroy, Index, New, Show, Update
Instance Method Summary collapse
-
#initialize(model) ⇒ Action
constructor
A new instance of Action.
Methods inherited from Embryo::RubyTemplate
Constructor Details
#initialize(model) ⇒ Action
Returns a new instance of Action.
5 6 7 |
# File 'lib/rails-embryo/ruby_template/action.rb', line 5 def initialize(model) @model = model end |