Class: Handlebars::Helpers::StringFormatting::Dotirize
- Inherits:
-
BaseHelper
- Object
- BaseHelper
- Handlebars::Helpers::StringFormatting::Dotirize
- Defined in:
- lib/handlebars/helpers/string_formatting/dotirize.rb
Overview
convert to dot notation
Instance Method Summary collapse
-
#parse(value) ⇒ String
Parse will convert to dot notation.
Methods inherited from BaseHelper
#handlebars_helper, #parse_json, #struct_to_hash, #tokenizer, #wrapper
Instance Method Details
#parse(value) ⇒ String
Parse will convert to dot notation
27 28 29 |
# File 'lib/handlebars/helpers/string_formatting/dotirize.rb', line 27 def parse(value) tokenizer.parse(value, separator: '.') end |