Class: GrapeBootstrap::Commands::Base
- Inherits:
-
Object
- Object
- GrapeBootstrap::Commands::Base
- Defined in:
- lib/grape_bootstrap/commands/base.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path, options = []) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(path, options = []) ⇒ Base
Returns a new instance of Base.
6 7 8 9 10 11 |
# File 'lib/grape_bootstrap/commands/base.rb', line 6 def initialize path, =[] if path.nil? throw "Path not specified" end @path = path end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
4 5 6 |
# File 'lib/grape_bootstrap/commands/base.rb', line 4 def path @path end |