Class: Arstotzka::MethodBuilder Private
- Inherits:
-
Sinclair
- Object
- Sinclair
- Arstotzka::MethodBuilder
- Defined in:
- lib/arstotzka/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 orchestrate the addtion of method that will crawl the hash for value
Instance Method Summary collapse
-
#initialize(attr_names, klass, options = {}) ⇒ MethodBuilder
constructor
private
Returns new instance of Arstotzka::MethodBuilder.
Constructor Details
#initialize(attr_names, klass, options = {}) ⇒ MethodBuilder
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 new instance of Arstotzka::MethodBuilder
50 51 52 53 54 55 56 |
# File 'lib/arstotzka/method_builder.rb', line 50 def initialize(attr_names, klass, = {}) super(klass) @options = @attr_names = attr_names init end |