Class: Nickel::Construct

Inherits:
Object
  • Object
show all
Defined in:
lib/nickel/construct.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(h) ⇒ Construct

Returns a new instance of Construct.



4
5
6
# File 'lib/nickel/construct.rb', line 4

def initialize(h)
  h.each { |k, v| send("#{k}=", v) }
end

Instance Attribute Details

#comp_endObject

Returns the value of attribute comp_end.



3
4
5
# File 'lib/nickel/construct.rb', line 3

def comp_end
  @comp_end
end

#comp_startObject

Returns the value of attribute comp_start.



3
4
5
# File 'lib/nickel/construct.rb', line 3

def comp_start
  @comp_start
end

#found_inObject

Returns the value of attribute found_in.



3
4
5
# File 'lib/nickel/construct.rb', line 3

def found_in
  @found_in
end