Class: Ambling::Xy::Settings::Strings

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/ambling/xy.rb

Defined Under Namespace

Classes: Months

Constant Summary collapse

VALUES =
[:no_data,:export_as_image,:collecting_data,:ss,:mm,:hh,:DD,:months]

Instance Attribute Summary collapse

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#collecting_dataObject

Collecting data

(text) this text is displayed while exporting chart to an image



1223
1224
1225
# File 'lib/ambling/xy.rb', line 1223

def collecting_data
  @collecting_data
end

#DDObject

d

unit of days



1243
1244
1245
# File 'lib/ambling/xy.rb', line 1243

def DD
  @DD
end

#export_as_imageObject

Export as image

(text) text for right click menu



1218
1219
1220
# File 'lib/ambling/xy.rb', line 1218

def export_as_image
  @export_as_image
end

#hhObject

:

unit of hours



1238
1239
1240
# File 'lib/ambling/xy.rb', line 1238

def hh
  @hh
end

#mmObject

:

unit of minutes



1233
1234
1235
# File 'lib/ambling/xy.rb', line 1233

def mm
  @mm
end

#monthsObject

Returns the value of attribute months.



1248
1249
1250
# File 'lib/ambling/xy.rb', line 1248

def months
  @months
end

#no_dataObject

No data for selected period

(text) if data is missing, this message will be displayed



1213
1214
1215
# File 'lib/ambling/xy.rb', line 1213

def no_data
  @no_data
end

#ssObject

unit of seconds



1228
1229
1230
# File 'lib/ambling/xy.rb', line 1228

def ss
  @ss
end