Class: Gettc::Signature
- Inherits:
-
Object
- Object
- Gettc::Signature
- Defined in:
- lib/gettc/signature.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type, name) ⇒ Signature
constructor
A new instance of Signature.
Constructor Details
#initialize(type, name) ⇒ Signature
Returns a new instance of Signature.
28 29 30 31 |
# File 'lib/gettc/signature.rb', line 28 def initialize(type, name) @type = type @name = name end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
26 27 28 |
# File 'lib/gettc/signature.rb', line 26 def name @name end |
#type ⇒ Object
Returns the value of attribute type.
26 27 28 |
# File 'lib/gettc/signature.rb', line 26 def type @type end |