Class: Suspenders::StylelintGenerator::InvokeGenerator

Inherits:
Object
  • Object
show all
Defined in:
lib/suspenders/generators/stylelint_generator.rb

Instance Method Summary collapse

Constructor Details

#initialize(base, generator) ⇒ InvokeGenerator

Returns a new instance of InvokeGenerator.


20
21
22
23
# File 'lib/suspenders/generators/stylelint_generator.rb', line 20

def initialize(base, generator)
  @base = base
  @generator = generator
end

Instance Method Details

#invoke!Object


25
26
27
# File 'lib/suspenders/generators/stylelint_generator.rb', line 25

def invoke!
  @base.invoke @generator
end

#revoke!Object


29
30
# File 'lib/suspenders/generators/stylelint_generator.rb', line 29

def revoke!
end