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

Returns a new instance of ArgMeta.



116
117
118
119
# File 'lib/spqr/manageable.rb', line 116

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

Returns:

  • (Object)

    the current value of description



115
116
117
# File 'lib/spqr/manageable.rb', line 115

def description
  @description
end

#directionObject

Returns the value of attribute direction

Returns:

  • (Object)

    the current value of direction



115
116
117
# File 'lib/spqr/manageable.rb', line 115

def direction
  @direction
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



115
116
117
# File 'lib/spqr/manageable.rb', line 115

def kind
  @kind
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



115
116
117
# File 'lib/spqr/manageable.rb', line 115

def name
  @name
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



115
116
117
# File 'lib/spqr/manageable.rb', line 115

def options
  @options
end