Class: Glark::AppSpec

Inherits:
Object
  • Object
show all
Defined in:
lib/glark/app/spec.rb

Direct Known Subclasses

AppOptions

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(input_spec, match_spec, output_spec) ⇒ AppSpec

Returns a new instance of AppSpec.



12
13
14
15
16
17
# File 'lib/glark/app/spec.rb', line 12

def initialize input_spec, match_spec, output_spec
  @input_spec = input_spec
  @match_spec = match_spec
  @output_spec = output_spec
  @local_config_files = false      # use local .glarkrc files    
end

Instance Attribute Details

#input_specObject (readonly)

Returns the value of attribute input_spec.



8
9
10
# File 'lib/glark/app/spec.rb', line 8

def input_spec
  @input_spec
end

#local_config_filesObject (readonly)

Returns the value of attribute local_config_files.



6
7
8
# File 'lib/glark/app/spec.rb', line 6

def local_config_files
  @local_config_files
end

#match_specObject (readonly)

Returns the value of attribute match_spec.



9
10
11
# File 'lib/glark/app/spec.rb', line 9

def match_spec
  @match_spec
end

#output_specObject (readonly)

Returns the value of attribute output_spec.



10
11
12
# File 'lib/glark/app/spec.rb', line 10

def output_spec
  @output_spec
end