Class: Meta::RouteDSL::ActionBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/meta/route_dsl/action_builder.rb

Instance Method Summary collapse

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

#buildObject



10
11
12
# File 'lib/meta/route_dsl/action_builder.rb', line 10

def build
  @block
end