--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Defines a configuration setting for the enclosing class. - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::P body: class Compiler - !ruby/struct:SM::Flow::VERB body: " setting :template_root, :default => 'src/template', :doc => 'The template root dir'\n" - !ruby/struct:SM::Flow::P body: end full_name: Module#setting is_singleton: false name: setting params: (sym, options = {}) visibility: public