Class: Sinew::Main::DSL
- Inherits:
-
Object
- Object
- Sinew::Main::DSL
- Defined in:
- lib/sinew/main.rb
Overview
simple DSL for .sinew files
Instance Attribute Summary collapse
-
#sinew ⇒ Object
readonly
Returns the value of attribute sinew.
Instance Method Summary collapse
-
#initialize(sinew) ⇒ DSL
constructor
A new instance of DSL.
Constructor Details
#initialize(sinew) ⇒ DSL
Returns a new instance of DSL.
67 68 69 |
# File 'lib/sinew/main.rb', line 67 def initialize(sinew) @sinew = sinew end |
Instance Attribute Details
#sinew ⇒ Object (readonly)
Returns the value of attribute sinew.
65 66 67 |
# File 'lib/sinew/main.rb', line 65 def sinew @sinew end |