Class: ListRunner
Instance Attribute Summary collapse
-
#templates ⇒ Object
readonly
Returns the value of attribute templates.
Instance Method Summary collapse
-
#initialize(opts) ⇒ ListRunner
constructor
A new instance of ListRunner.
- #start ⇒ Object
Methods included from Common
#banner, #box_metadata, #build_list, #builds_yml, #duration, #info, #macos?, #metadata_files, #private_box?, #unix?, #vc_account, #warn, #windows?
Constructor Details
#initialize(opts) ⇒ ListRunner
Returns a new instance of ListRunner.
209 210 211 |
# File 'lib/bento/cli.rb', line 209 def initialize(opts) @templates = opts.template_files end |
Instance Attribute Details
#templates ⇒ Object (readonly)
Returns the value of attribute templates.
207 208 209 |
# File 'lib/bento/cli.rb', line 207 def templates @templates end |
Instance Method Details
#start ⇒ Object
213 214 215 |
# File 'lib/bento/cli.rb', line 213 def start templates.each { |template| puts template } end |