Module: Tetrahedron::Gem

Defined in:
lib/tetrahedron/gem.rb

Defined Under Namespace

Modules: VERSION

Class Method Summary collapse

Class Method Details

.authorObject

The name and email address of the primary author.



11
12
13
# File 'lib/tetrahedron/gem.rb', line 11

def self.author
  self.authors.first
end

.authorsObject

The name and email addresses of all authors.



16
17
18
19
20
21
# File 'lib/tetrahedron/gem.rb', line 16

def self.authors
  [["Michael Williams", "[email protected]"]].map do |author|
    name, email = author
    OpenStruct.new(name: name, email: email)
  end
end

.descriptionObject

A full description of this Gem.



39
40
41
# File 'lib/tetrahedron/gem.rb', line 39

def self.description
  "Tetrahedron is an opinionated web development framework."
end

.homepageObject

This Gem’s homepage URL.



24
25
26
# File 'lib/tetrahedron/gem.rb', line 24

def self.homepage
  "http://github.com/mtwilliams/tetrahedron"
end

.licenseObject

The license covering Tetrahedron.



54
55
56
# File 'lib/tetrahedron/gem.rb', line 54

def self.license
  "Public Domain"
end

.nameObject

The name of this Gem.



6
7
8
# File 'lib/tetrahedron/gem.rb', line 6

def self.name
  "tetrahedron"
end

.summaryObject

A short summary of this Gem.



34
35
36
# File 'lib/tetrahedron/gem.rb', line 34

def self.summary
  "Welcome to the Tet."
end

.urlObject

This Gem’s URL.



29
30
31
# File 'lib/tetrahedron/gem.rb', line 29

def self.url
  "https://rubygems.org/gems/#{self.name}"
end

.versionObject

The semantic version of the this Gem.



49
50
51
# File 'lib/tetrahedron/gem.rb', line 49

def self.version
  Gem::VERSION::STRING
end