Module: Indicator::Mixin

Included in:
Array
Defined in:
lib/indicator/mixin.rb

Instance Method Summary collapse

Instance Method Details

#indicator(type, *args) ⇒ Object



5
6
7
8
# File 'lib/indicator/mixin.rb', line 5

def indicator type, *args
  i = Indicator.create_named type, *args
  i.run self
end