Module: Hash2lrtemplate::Extension

Included in:
Hash
Defined in:
lib/hash2lrtemplate/extension.rb

Overview

This module is meant to be included in the ‘Hash` class

Instance Method Summary collapse

Instance Method Details

#to_lrtemplateString

Convert the hash to .lrtemplate

Returns:

  • (String)

    Converted string



11
12
13
# File 'lib/hash2lrtemplate/extension.rb', line 11

def to_lrtemplate
  Hash2lrtemplate::Convertor.call(self)
end