Module: Jirafe::Resource::TimeSeries::ClassMethods

Defined in:
lib/jirafe/resource/time_series.rb

Instance Method Summary collapse

Instance Method Details

#count_keys(*keys) ⇒ Object



9
10
11
12
13
14
15
# File 'lib/jirafe/resource/time_series.rb', line 9

def count_keys(*keys)
  @count_keys ||= if keys.respond_to?(:to_ary)
    keys.to_ary || [keys]
  else
    [keys]
  end
end