Class: Boiler::Generator::Base
- Inherits:
-
Object
- Object
- Boiler::Generator::Base
- Includes:
- Chalk::Log
- Defined in:
- lib/boiler/generator/base.rb
Instance Attribute Summary collapse
-
#arguments ⇒ Object
readonly
Returns the value of attribute arguments.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(options, arguments) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(options, arguments) ⇒ Base
Returns a new instance of Base.
11 12 13 14 |
# File 'lib/boiler/generator/base.rb', line 11 def initialize(, arguments) @options = @arguments = arguments end |
Instance Attribute Details
#arguments ⇒ Object (readonly)
Returns the value of attribute arguments.
9 10 11 |
# File 'lib/boiler/generator/base.rb', line 9 def arguments @arguments end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
9 10 11 |
# File 'lib/boiler/generator/base.rb', line 9 def @options end |
Instance Method Details
#execute ⇒ Object
16 17 18 |
# File 'lib/boiler/generator/base.rb', line 16 def execute raise NotImplementedError.new('Override in subclass') end |