Class: Synchronisable::DSL::Macro::Attribute Private
- Inherits:
-
Expression
- Object
- Expression
- Synchronisable::DSL::Macro::Attribute
- Defined in:
- lib/synchronisable/dsl/macro/attribute.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.
Expression for an attribute definition.
Instance Method Summary collapse
- #default ⇒ Object private
-
#initialize(options) ⇒ Attribute
constructor
private
A new instance of Attribute.
- #source ⇒ Object private
Methods inherited from Expression
Constructor Details
#initialize(options) ⇒ Attribute
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 Attribute.
13 14 15 16 |
# File 'lib/synchronisable/dsl/macro/attribute.rb', line 13 def initialize() @converter = [:converter] super end |
Instance Method Details
#default ⇒ Object
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.
22 23 24 |
# File 'lib/synchronisable/dsl/macro/attribute.rb', line 22 def default transform(@default) end |
#source ⇒ Object
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.
18 19 20 |
# File 'lib/synchronisable/dsl/macro/attribute.rb', line 18 def source transform(@source) end |