Class: ACOC::Program

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#flagsObject

Returns the value of attribute flags.



4
5
6
# File 'lib/acoc/program.rb', line 4

def flags
  @flags
end

#specsObject

Returns the value of attribute specs.



4
5
6
# File 'lib/acoc/program.rb', line 4

def specs
  @specs
end