Module: Hypem::Helper::ClassMethods
- Defined in:
- lib/hypem/helper.rb
Instance Attribute Summary collapse
-
#datetime_conversions ⇒ Object
readonly
Returns the value of attribute datetime_conversions.
-
#key_conversions ⇒ Object
readonly
Returns the value of attribute key_conversions.
Instance Method Summary collapse
Instance Attribute Details
#datetime_conversions ⇒ Object (readonly)
Returns the value of attribute datetime_conversions.
23 24 25 |
# File 'lib/hypem/helper.rb', line 23 def datetime_conversions @datetime_conversions end |
#key_conversions ⇒ Object (readonly)
Returns the value of attribute key_conversions.
23 24 25 |
# File 'lib/hypem/helper.rb', line 23 def key_conversions @key_conversions end |
Instance Method Details
#convert_datetimes(*values) ⇒ Object
29 30 31 |
# File 'lib/hypem/helper.rb', line 29 def convert_datetimes(*values) @datetime_conversions = values end |
#convert_keys(values) ⇒ Object
25 26 27 |
# File 'lib/hypem/helper.rb', line 25 def convert_keys(values) @key_conversions = values end |