Class: ShieldSystem

Inherits:
Object
  • Object
show all
Defined in:
lib/lingohub_shield/shield_system.rb

Instance Method Summary collapse

Constructor Details

#initialize(output_path, name, locales) ⇒ ShieldSystem

Returns a new instance of ShieldSystem.



5
6
7
8
9
# File 'lib/lingohub_shield/shield_system.rb', line 5

def initialize(output_path, name, locales)
  @output_path = output_path
  @name = name
  @locales = locales
end

Instance Method Details

#github_shieldObject



11
12
13
# File 'lib/lingohub_shield/shield_system.rb', line 11

def github_shield
  Systems::GithubShield.new(@output_path, @name, @locales).generate
end