Class: Bashly::Commands::Render
- Defined in:
- lib/bashly/commands/render.rb
Instance Attribute Summary collapse
-
#source ⇒ Object
readonly
Returns the value of attribute source.
-
#target ⇒ Object
readonly
Returns the value of attribute target.
-
#watching ⇒ Object
readonly
Returns the value of attribute watching.
Instance Method Summary collapse
Methods inherited from Base
#config, #config_validator, #validate_config, #with_valid_config
Methods included from AssetHelper
Instance Attribute Details
#source ⇒ Object (readonly)
Returns the value of attribute source.
40 41 42 |
# File 'lib/bashly/commands/render.rb', line 40 def source @source end |
#target ⇒ Object (readonly)
Returns the value of attribute target.
40 41 42 |
# File 'lib/bashly/commands/render.rb', line 40 def target @target end |
#watching ⇒ Object (readonly)
Returns the value of attribute watching.
40 41 42 |
# File 'lib/bashly/commands/render.rb', line 40 def watching @watching end |
Instance Method Details
#run ⇒ Object
42 43 44 45 46 47 48 |
# File 'lib/bashly/commands/render.rb', line 42 def run if args['--list'] then show_list elsif args['--about'] then show_about else start_render end end |