class Opto::Model::Attribute
Attributes
collection[R]
definition[R]
handler[R]
name[R]
Public Class Methods
new(collection, definition, handler)
click to toggle source
# File lib/opto/model/attribute.rb, line 9 def initialize(collection, definition, handler) @collection = collection @definition = definition @handler = handler @name = definition[:name] end
Public Instance Methods
set(value)
click to toggle source
# File lib/opto/model/attribute.rb, line 16 def set(value) handler.set(value) end
value()
click to toggle source
# File lib/opto/model/attribute.rb, line 20 def value handler.value end