Method: Sinclair::MethodDefinition::StringDefinition#initialize
- Defined in:
- lib/sinclair/method_definition/string_definition.rb
#initialize(name, code = nil, **options) ⇒ StringDefinition
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.
Returns a new instance of StringDefinition.
17 18 19 20 |
# File 'lib/sinclair/method_definition/string_definition.rb', line 17 def initialize(name, code = nil, **) @code = code super(name, **) end |