Class: Symbol
- Inherits:
-
Object
- Object
- Symbol
- Defined in:
- lib/extensions/symbol.rb
Class Method Summary collapse
-
.operator(operators) ⇒ Object
OPERATORS.
Instance Method Summary collapse
-
#desc ⇒ Object
Sorting.
-
#to_ga ⇒ Object
Metric filters.
Class Method Details
.operator(operators) ⇒ Object
OPERATORS
4 5 6 7 8 9 10 11 12 |
# File 'lib/extensions/symbol.rb', line 4 def self.operator(operators) operators.each do |method, operator| class_eval <<-CODE def #{method} Operator.new(self, '#{operator}') end CODE end end |