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.



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

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



112
113
114
# File 'lib/spqr/manageable.rb', line 112

def kind
  @kind
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



112
113
114
# File 'lib/spqr/manageable.rb', line 112

def name
  @name
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



112
113
114
# File 'lib/spqr/manageable.rb', line 112

def options
  @options
end