Class: Mode::Commands::AnalyzeField

Inherits:
Thor
  • Object
show all
Defined in:
lib/mode/commands/analyze_field.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path, field_pos, options = {}) ⇒ AnalyzeField

Returns a new instance of AnalyzeField.



10
11
12
13
14
# File 'lib/mode/commands/analyze_field.rb', line 10

def initialize(path, field_pos, options = {})
  @path = path
  @field_pos = field_pos.to_i
  @options = options
end

Instance Attribute Details

#field_posObject

Returns the value of attribute field_pos.



7
8
9
# File 'lib/mode/commands/analyze_field.rb', line 7

def field_pos
  @field_pos
end

#optionsObject

Returns the value of attribute options.



8
9
10
# File 'lib/mode/commands/analyze_field.rb', line 8

def options
  @options
end

#pathObject

Returns the value of attribute path.



6
7
8
# File 'lib/mode/commands/analyze_field.rb', line 6

def path
  @path
end