Module: Tinker::Context::ClassMethods
- Defined in:
- lib/tinker/context.rb
Instance Method Summary collapse
Instance Method Details
#ancestors_binding_definitions ⇒ Object
127 128 129 |
# File 'lib/tinker/context.rb', line 127 def ancestors_binding_definitions ancestors.select{|klass| klass < Tinker::Context}.reduce([]){|arr, klass| arr.push *klass.binding_definitions } end |
#binding_definitions ⇒ Object
123 124 125 |
# File 'lib/tinker/context.rb', line 123 def binding_definitions @binding_definitions ||= [] end |