Class: Statement
- Inherits:
-
Object
- Object
- Statement
- Defined in:
- lib/ursa.rb
Instance Attribute Summary collapse
-
#close ⇒ Object
Returns the value of attribute close.
-
#open ⇒ Object
Returns the value of attribute open.
Instance Method Summary collapse
-
#initialize(open = '', close = '') ⇒ Statement
constructor
A new instance of Statement.
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
#close ⇒ Object
Returns the value of attribute close.
5 6 7 |
# File 'lib/ursa.rb', line 5 def close @close end |
#open ⇒ Object
Returns the value of attribute open.
5 6 7 |
# File 'lib/ursa.rb', line 5 def open @open end |