Class: Statement

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(open = '', close = '') ⇒ Statement

Returns a new instance of Statement.



7
8
9
10
# File 'lib/ursa.rb', line 7

def initialize(open = '', close = '')
  self.open = open
  self.close = close
end

Instance Attribute Details

#closeObject

Returns the value of attribute close.



5
6
7
# File 'lib/ursa.rb', line 5

def close
  @close
end

#openObject

Returns the value of attribute open.



5
6
7
# File 'lib/ursa.rb', line 5

def open
  @open
end