Class: Rag::DSL
Instance Attribute Summary collapse
-
#app_path ⇒ Object
readonly
Returns the value of attribute app_path.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#template_name ⇒ Object
readonly
Returns the value of attribute template_name.
Instance Method Summary collapse
-
#initialize(template_name, app_path, o = {}) ⇒ DSL
constructor
A new instance of DSL.
Methods included from Thor::Actions
Constructor Details
#initialize(template_name, app_path, o = {}) ⇒ DSL
Returns a new instance of DSL.
169 170 171 172 173 |
# File 'lib/rag/new.rb', line 169 def initialize(template_name, app_path, o={}) @template_name = template_name @app_path = app_path @options = o end |
Instance Attribute Details
#app_path ⇒ Object (readonly)
Returns the value of attribute app_path.
167 168 169 |
# File 'lib/rag/new.rb', line 167 def app_path @app_path end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
167 168 169 |
# File 'lib/rag/new.rb', line 167 def @options end |
#template_name ⇒ Object (readonly)
Returns the value of attribute template_name.
167 168 169 |
# File 'lib/rag/new.rb', line 167 def template_name @template_name end |