Class: Cloudrider::ApplicationCommander
- Inherits:
-
Object
- Object
- Cloudrider::ApplicationCommander
- Defined in:
- lib/cloudrider/application_commander.rb
Defined Under Namespace
Classes: UnknownOrUnimplmenetedVarisset
Class Method Summary collapse
Instance Method Summary collapse
- #files_to_write ⇒ Object
-
#initialize(params) ⇒ ApplicationCommander
constructor
A new instance of ApplicationCommander.
Constructor Details
#initialize(params) ⇒ ApplicationCommander
Returns a new instance of ApplicationCommander.
10 11 12 |
# File 'lib/cloudrider/application_commander.rb', line 10 def initialize(params) @params = params end |
Class Method Details
.varisset_protofiles_for(params) ⇒ Object
6 7 8 |
# File 'lib/cloudrider/application_commander.rb', line 6 def varisset_protofiles_for(params) new(params).files_to_write end |
Instance Method Details
#files_to_write ⇒ Object
14 15 16 |
# File 'lib/cloudrider/application_commander.rb', line 14 def files_to_write .flatten.map { |ac| ac.new style: _varisset_style, protosite: _protosite }.map(&:protofile) end |