class Specific::Command::Build
Attributes
renderer[R]
spec[R]
Public Class Methods
new(spec, type)
click to toggle source
# File lib/specific/command/build.rb, line 6 def initialize(spec, type) @spec = spec @type = type @renderer = Renderer.for(@type) end
Public Instance Methods
run()
click to toggle source
# File lib/specific/command/build.rb, line 12 def run puts renderer.new(spec).render end