Class: Meta::RouteDSL::ActionBuilder
- Inherits:
-
Object
- Object
- Meta::RouteDSL::ActionBuilder
- Defined in:
- lib/meta/route_dsl/action_builder.rb
Instance Method Summary collapse
- #build ⇒ Object
-
#initialize(&block) ⇒ ActionBuilder
constructor
A new instance of ActionBuilder.
Constructor Details
#initialize(&block) ⇒ ActionBuilder
Returns a new instance of ActionBuilder.
6 7 8 |
# File 'lib/meta/route_dsl/action_builder.rb', line 6 def initialize(&block) @block = block end |
Instance Method Details
#build ⇒ Object
10 11 12 |
# File 'lib/meta/route_dsl/action_builder.rb', line 10 def build @block end |