Class: ActsAsRecursiveTree::Options::Values::ActiveRecord

Inherits:
SingleValue
  • Object
show all
Defined in:
lib/acts_as_recursive_tree/options/values.rb

Instance Attribute Summary

Attributes inherited from Base

#config, #value

Instance Method Summary collapse

Methods inherited from SingleValue

#apply_negated_to, #apply_to

Methods inherited from Base

#apply_negated_to, #apply_to, #initialize

Constructor Details

This class inherits a constructor from ActsAsRecursiveTree::Options::Values::Base

Instance Method Details

#prepared_valueObject



34
35
36
# File 'lib/acts_as_recursive_tree/options/values.rb', line 34

def prepared_value
  value.id
end