Sha256: 43fed46b747715baf0bb5e0aa50920c6e50f03bbcc60346372338871950e6222
Contents?: true
Size: 337 Bytes
Versions: 2
Compression:
Stored size: 337 Bytes
Contents
module Analytics module Templates # Returns the template at provided path. # Path is relative to the path of this file. # E.g. to get file at templates/swift/test, # call tmpl_at('swift/test'). def self.tmpl_at(path) final_path = File.join(__dir__, path) File.open(final_path, &:read) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ios_analytics_cli-1.1.0 | lib/ios_analytics_cli/templates/templates.rb |
ios_analytics_cli-1.0.0 | lib/ios_analytics_cli/templates/templates.rb |