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



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



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

def kind
  @kind
end

#nameObject

Returns the value of attribute name



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

def name
  @name
end

#optionsObject

Returns the value of attribute options



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

def options
  @options
end