Class: RgGen::Core::InputBase::ApproximatelyErrorPosition
- Defined in:
- lib/rggen/core/input_base/error.rb
Instance Attribute Summary collapse
-
#position ⇒ Object
Returns the value of attribute position.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#position ⇒ Object
Returns the value of attribute position
6 7 8 |
# File 'lib/rggen/core/input_base/error.rb', line 6 def position @position end |
Class Method Details
.create(position) ⇒ Object
7 8 9 |
# File 'lib/rggen/core/input_base/error.rb', line 7 def self.create(position) position && new(position) end |
Instance Method Details
#to_s ⇒ Object
11 12 13 |
# File 'lib/rggen/core/input_base/error.rb', line 11 def to_s "#{position} (approximately)" end |