Class: Specific::Command::Build
- Inherits:
-
Object
- Object
- Specific::Command::Build
- Defined in:
- lib/specific/command/build.rb
Instance Attribute Summary collapse
-
#renderer ⇒ Object
readonly
Returns the value of attribute renderer.
-
#spec ⇒ Object
readonly
Returns the value of attribute spec.
Instance Method Summary collapse
-
#initialize(spec, type) ⇒ Build
constructor
A new instance of Build.
- #run ⇒ Object
Constructor Details
Instance Attribute Details
#renderer ⇒ Object (readonly)
Returns the value of attribute renderer.
4 5 6 |
# File 'lib/specific/command/build.rb', line 4 def renderer @renderer end |
#spec ⇒ Object (readonly)
Returns the value of attribute spec.
4 5 6 |
# File 'lib/specific/command/build.rb', line 4 def spec @spec end |
Instance Method Details
#run ⇒ Object
12 13 14 |
# File 'lib/specific/command/build.rb', line 12 def run puts renderer.new(spec).render end |