Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/commander/core_ext/object.rb
Overview
Adds Object#get_binding, used by HelpFormatter::Context to capture a target object's binding for evaluation inside an ERB help template.
Instance Method Summary collapse
-
#get_binding ⇒ Object
Return the current binding.
Instance Method Details
#get_binding ⇒ Object
Return the current binding.
9 10 11 |
# File 'lib/commander/core_ext/object.rb', line 9 def get_binding binding end |