Class: Sinew::Main::DSL

Inherits:
Object
  • Object
show all
Defined in:
lib/sinew/main.rb

Overview

simple DSL for .sinew files

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#sinewObject (readonly)

Returns the value of attribute sinew.



65
66
67
# File 'lib/sinew/main.rb', line 65

def sinew
  @sinew
end