Class: Sinclair::MethodBuilder::StringMethodBuilder Private
- Defined in:
- lib/sinclair/method_builder/string_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 string 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/string_method_builder.rb', line 16 def build evaluating_class.module_eval(code_definition, __FILE__, __LINE__ + 1) end |