Class: Gettc::Signature

Inherits:
Object
  • Object
show all
Defined in:
lib/gettc/signature.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject

Returns the value of attribute name.



26
27
28
# File 'lib/gettc/signature.rb', line 26

def name
  @name
end

#typeObject

Returns the value of attribute type.



26
27
28
# File 'lib/gettc/signature.rb', line 26

def type
  @type
end