Class: Mode::Commands::AnalyzeField
- Inherits:
-
Thor
- Object
- Thor
- Mode::Commands::AnalyzeField
- Defined in:
- lib/mode/commands/analyze_field.rb
Instance Attribute Summary collapse
-
#field_pos ⇒ Object
Returns the value of attribute field_pos.
-
#options ⇒ Object
Returns the value of attribute options.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path, field_pos, options = {}) ⇒ AnalyzeField
constructor
A new instance of AnalyzeField.
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, = {}) @path = path @field_pos = field_pos.to_i @options = end |
Instance Attribute Details
#field_pos ⇒ Object
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 |
#options ⇒ Object
Returns the value of attribute options.
8 9 10 |
# File 'lib/mode/commands/analyze_field.rb', line 8 def @options end |
#path ⇒ Object
Returns the value of attribute path.
6 7 8 |
# File 'lib/mode/commands/analyze_field.rb', line 6 def path @path end |