Class: RailsuiCharts::Filters::Preset

Inherits:
Struct
  • Object
show all
Defined in:
lib/railsui_charts/filters.rb

Instance Attribute Summary collapse

Instance Attribute Details

#intervalObject

Returns the value of attribute interval

Returns:

  • (Object)

    the current value of interval



15
16
17
# File 'lib/railsui_charts/filters.rb', line 15

def interval
  @interval
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



15
16
17
# File 'lib/railsui_charts/filters.rb', line 15

def key
  @key
end

#labelObject

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



15
16
17
# File 'lib/railsui_charts/filters.rb', line 15

def label
  @label
end

#lengthObject

Returns the value of attribute length

Returns:

  • (Object)

    the current value of length



15
16
17
# File 'lib/railsui_charts/filters.rb', line 15

def length
  @length
end

#unitObject

Returns the value of attribute unit

Returns:

  • (Object)

    the current value of unit



15
16
17
# File 'lib/railsui_charts/filters.rb', line 15

def unit
  @unit
end