Class: StatModule::Fix
Instance Method Summary collapse
-
#initialize(location) ⇒ Fix
constructor
A new instance of Fix.
- #location ⇒ Object
- #location=(location) ⇒ Object
- #new_text ⇒ Object
- #new_text=(new_text) ⇒ Object
Methods inherited from JSONable
Constructor Details
#initialize(location) ⇒ Fix
Returns a new instance of Fix.
6 7 8 |
# File 'lib/fix.rb', line 6 def initialize(location) @location = location end |
Instance Method Details
#location ⇒ Object
15 16 17 |
# File 'lib/fix.rb', line 15 def location @location end |
#location=(location) ⇒ Object
10 11 12 13 |
# File 'lib/fix.rb', line 10 def location=(location) raise TypeException unless location.is_a?(StatModule::Location) @location = location end |
#new_text ⇒ Object
24 25 26 |
# File 'lib/fix.rb', line 24 def new_text @newText end |
#new_text=(new_text) ⇒ Object
19 20 21 22 |
# File 'lib/fix.rb', line 19 def new_text=(new_text) raise TypeException unless new_text.is_a?(String) @newText = new_text end |