Class: ShieldSystem
- Inherits:
-
Object
- Object
- ShieldSystem
- Defined in:
- lib/lingohub_shield/shield_system.rb
Instance Method Summary collapse
- #github_shield ⇒ Object
-
#initialize(output_path, name, locales) ⇒ ShieldSystem
constructor
A new instance of ShieldSystem.
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_shield ⇒ Object
11 12 13 |
# File 'lib/lingohub_shield/shield_system.rb', line 11 def github_shield Systems::GithubShield.new(@output_path, @name, @locales).generate end |