Module: ActionTree::Basic::Shared
Overview
Conatins instance methods shared between Node and Query. Part of ActionTree::Basic and therefore available to all ActionTree dialects.
Instance Method Summary collapse
Instance Method Details
#dialect ⇒ Module
19 20 21 22 23 24 |
# File 'lib/action_tree/basic/shared.rb', line 19 def dialect self.class.name.split('::')[0..-2]. inject(Kernel) do |current, next_const| current.const_get(next_const) end end |