Class: Rubber::Options
- Inherits:
-
Object
- Object
- Rubber::Options
- Defined in:
- lib/rubber/scanner.rb
Instance Attribute Summary collapse
-
#glib ⇒ Object
(also: #glib?)
Returns the value of attribute glib.
-
#gnu ⇒ Object
Returns the value of attribute gnu.
-
#gtk ⇒ Object
(also: #gtk?)
Returns the value of attribute gtk.
Instance Method Summary collapse
Instance Attribute Details
#glib ⇒ Object Also known as: glib?
Returns the value of attribute glib.
9 10 11 |
# File 'lib/rubber/scanner.rb', line 9 def glib @glib end |
#gnu ⇒ Object
Returns the value of attribute gnu.
9 10 11 |
# File 'lib/rubber/scanner.rb', line 9 def gnu @gnu end |
#gtk ⇒ Object Also known as: gtk?
Returns the value of attribute gtk.
9 10 11 |
# File 'lib/rubber/scanner.rb', line 9 def gtk @gtk end |
Instance Method Details
#[](name) ⇒ Object
15 16 17 |
# File 'lib/rubber/scanner.rb', line 15 def [](name) instance_variable_get("@"+name) end |
#[]=(name, val) ⇒ Object
12 13 14 |
# File 'lib/rubber/scanner.rb', line 12 def []=(name,val) instance_variable_set("@"+name,val) end |