class Locraft::Generator
Public Class Methods
new(config)
click to toggle source
# File lib/locraft/generators/generator.rb, line 3 def initialize(config) @config = config end
Public Instance Methods
generate(_)
click to toggle source
@param [{ String => [Localization]}] _ # localizations hash like #{ 'Lang' => [array of localizations] }
# File lib/locraft/generators/generator.rb, line 12 def generate(_) raise NotImplementedError end
valid?()
click to toggle source
# File lib/locraft/generators/generator.rb, line 7 def valid? raise NotImplementedError end