Class: Sinclair::MethodBuilder::BlockMethodBuilder Private
- Defined in:
- lib/sinclair/method_builder/block_method_builder.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Class responsible to build methods from block definitions
Instance Method Summary collapse
-
#build ⇒ Symbol
private
Builds the method.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Sinclair::MethodBuilder::Base
Instance Method Details
#build ⇒ Symbol
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Builds the method
16 17 18 |
# File 'lib/sinclair/method_builder/block_method_builder.rb', line 16 def build evaluating_class.define_method(name, method_block) end |