Class: Rubber::Options

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#glibObject Also known as: glib?

Returns the value of attribute glib


9
10
11
# File 'lib/rubber/scanner.rb', line 9

def glib
  @glib
end

#gnuObject

Returns the value of attribute gnu


9
10
11
# File 'lib/rubber/scanner.rb', line 9

def gnu
  @gnu
end

#gtkObject 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