Class: BCDD::Data::Evaluator

Inherits:
Object
  • Object
show all
Defined in:
lib/bcdd/ext/data.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeEvaluator

Returns a new instance of Evaluator.



70
71
72
# File 'lib/bcdd/ext/data.rb', line 70

def initialize
  @properties = Data::Properties.new
end

Instance Attribute Details

#propertiesObject (readonly)

:nodoc:



68
69
70
# File 'lib/bcdd/ext/data.rb', line 68

def properties
  @properties
end

Instance Method Details

#attribute(name, **options) ⇒ Object



74
75
76
# File 'lib/bcdd/ext/data.rb', line 74

def attribute(name, **options)
  properties.attribute(name, **options)
end