Class: Mimas::Config::Site
Instance Attribute Summary
Attributes inherited from Options
Instance Method Summary collapse
Methods inherited from Options
evaluate, #initialize, #method_missing
Constructor Details
This class inherits a constructor from Mimas::Config::Options
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Mimas::Config::Options
Instance Method Details
#deploy(&block) ⇒ Object
116 117 118 |
# File 'lib/mimas/config.rb', line 116 def deploy(&block) @options[:deploy] = block.call.to_s end |
#files(&block) ⇒ Object
108 109 110 |
# File 'lib/mimas/config.rb', line 108 def files(&block) @options[:files] = block end |