Module: Exclaim::Implementable
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
-
#implementation ⇒ Object
Returns the value of attribute implementation.
-
#json_declaration ⇒ Object
Returns the value of attribute json_declaration.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
5 6 7 |
# File 'lib/exclaim/implementable.rb', line 5 def config @config end |
#implementation ⇒ Object
Returns the value of attribute implementation.
5 6 7 |
# File 'lib/exclaim/implementable.rb', line 5 def implementation @implementation end |
#json_declaration ⇒ Object
Returns the value of attribute json_declaration.
5 6 7 |
# File 'lib/exclaim/implementable.rb', line 5 def json_declaration @json_declaration end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/exclaim/implementable.rb', line 5 def name @name end |
Instance Method Details
#initialize(json_declaration: nil, name: nil, implementation: ->(_config, _env) { nil }, config: {}) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/exclaim/implementable.rb', line 7 def initialize(json_declaration: nil, name: nil, implementation: ->(_config, _env) { nil }, config: {}) @json_declaration = json_declaration @name = name @implementation = implementation @config = config end |