module Unlicense::Template

The Unlicense template.

@see unlicense.org/UNLICENSE

Constants

FILE

Public Class Methods

path() click to toggle source

Returns the template path.

@return [Pathname]

# File lib/unlicense/template.rb, line 16
def self.path
  Pathname(FILE)
end
to_s() click to toggle source

Returns the template string.

@return [String]

# File lib/unlicense/template.rb, line 24
def self.to_s
  self.to_str
end
to_str() click to toggle source

Returns the template string.

@return [String]

# File lib/unlicense/template.rb, line 32
def self.to_str
  File.read(FILE).freeze
end