Class: SPQR::PropertyMeta

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*a) ⇒ PropertyMeta

Returns a new instance of PropertyMeta.



123
124
125
126
# File 'lib/spqr/manageable.rb', line 123

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

Instance Attribute Details

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



122
123
124
# File 'lib/spqr/manageable.rb', line 122

def kind
  @kind
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



122
123
124
# File 'lib/spqr/manageable.rb', line 122

def name
  @name
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



122
123
124
# File 'lib/spqr/manageable.rb', line 122

def options
  @options
end