Class: Callme::DepMetadata::Attribute
- Inherits:
-
Object
- Object
- Callme::DepMetadata::Attribute
- Defined in:
- lib/callme/dep_metadata.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#ref ⇒ Object
readonly
Returns the value of attribute ref.
Instance Method Summary collapse
-
#initialize(name, options) ⇒ Attribute
constructor
A new instance of Attribute.
Constructor Details
#initialize(name, options) ⇒ Attribute
Returns a new instance of Attribute.
55 56 57 58 59 |
# File 'lib/callme/dep_metadata.rb', line 55 def initialize(name, ) Callme::ArgsValidator.has_key!(, :ref) @name = name @ref = [:ref] end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
53 54 55 |
# File 'lib/callme/dep_metadata.rb', line 53 def name @name end |
#ref ⇒ Object (readonly)
Returns the value of attribute ref.
53 54 55 |
# File 'lib/callme/dep_metadata.rb', line 53 def ref @ref end |