Module: HasHelpers::CoreExt::Array
- Defined in:
- lib/has_helpers/core_ext/array.rb
Instance Method Summary collapse
-
#to_constant ⇒ Object
Examples ["Initial", "Renewal", "Trial"].to_constant ["Initial", "Renewal", "Trial", :type => "Annuity"].to_constant.
- #to_renderable ⇒ Object
Instance Method Details
#to_constant ⇒ Object
Examples
["Initial", "Renewal", "Trial"].to_constant ["Initial", "Renewal", "Trial", :type => "Annuity"].to_constant
10 11 12 |
# File 'lib/has_helpers/core_ext/array.rb', line 10 def to_constant _to_constant(*self) end |
#to_renderable ⇒ Object
14 15 16 |
# File 'lib/has_helpers/core_ext/array.rb', line 14 def to_renderable to_enum end |