Class: ACOC::Program
- Inherits:
-
Object
- Object
- ACOC::Program
- Defined in:
- lib/acoc/program.rb
Instance Attribute Summary collapse
-
#flags ⇒ Object
Returns the value of attribute flags.
-
#specs ⇒ Object
Returns the value of attribute specs.
Instance Method Summary collapse
-
#initialize(flags) ⇒ Program
constructor
A new instance of Program.
Constructor Details
#initialize(flags) ⇒ Program
Returns a new instance of Program.
6 7 8 9 |
# File 'lib/acoc/program.rb', line 6 def initialize(flags) @flags = flags || "" @specs = Array.new end |
Instance Attribute Details
#flags ⇒ Object
Returns the value of attribute flags.
4 5 6 |
# File 'lib/acoc/program.rb', line 4 def flags @flags end |
#specs ⇒ Object
Returns the value of attribute specs.
4 5 6 |
# File 'lib/acoc/program.rb', line 4 def specs @specs end |