Module: ThomasUtils::SymbolHelpers
- Included in:
- Array, Symbol, KeyChild, KeyIndexer
- Defined in:
- lib/thomas_utils/symbol_helpers.rb
Constant Summary collapse
- OPERATOR_MAP =
{eq: '=', ge: '>=', gt: '>', le: '<=', lt: '<', ne: '!='}
Instance Method Summary collapse
- #child(name) ⇒ Object (also: #>>)
- #index(index) ⇒ Object
Instance Method Details
#child(name) ⇒ Object Also known as: >>
13 14 15 |
# File 'lib/thomas_utils/symbol_helpers.rb', line 13 def child(name) ThomasUtils::KeyChild.new(self, name) end |
#index(index) ⇒ Object
9 10 11 |
# File 'lib/thomas_utils/symbol_helpers.rb', line 9 def index(index) ThomasUtils::KeyIndexer.new(self, index) end |