Class: SPQR::ArgMeta

Inherits:
Struct
  • Object
show all
Defined in:
lib/spqr/manageable.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*a) ⇒ ArgMeta



106
107
108
109
# File 'lib/spqr/manageable.rb', line 106

def initialize(*a)
  super *a
  self.options = (({} unless self.options) or self.options.dup)
end

Instance Attribute Details

#descriptionObject

Returns the value of attribute description



105
106
107
# File 'lib/spqr/manageable.rb', line 105

def description
  @description
end

#directionObject

Returns the value of attribute direction



105
106
107
# File 'lib/spqr/manageable.rb', line 105

def direction
  @direction
end

#kindObject

Returns the value of attribute kind



105
106
107
# File 'lib/spqr/manageable.rb', line 105

def kind
  @kind
end

#nameObject

Returns the value of attribute name



105
106
107
# File 'lib/spqr/manageable.rb', line 105

def name
  @name
end

#optionsObject

Returns the value of attribute options



105
106
107
# File 'lib/spqr/manageable.rb', line 105

def options
  @options
end