class StatModule::Fix

Public Class Methods

new(location, hash = nil) click to toggle source
Calls superclass method StatModule::JSONable::new
# File lib/fix.rb, line 6
def initialize(location, hash = nil)
  if hash.is_a? Hash
    super(hash)
    return
  end
  @location = location
end

Public Instance Methods

location() click to toggle source
# File lib/fix.rb, line 19
def location
  @location
end
location=(location) click to toggle source
# File lib/fix.rb, line 14
def location=(location)
  raise TypeException unless location.is_a?(StatModule::Location)
  @location = location
end
new_text() click to toggle source
# File lib/fix.rb, line 28
def new_text
  @newText
end
new_text=(new_text) click to toggle source
# File lib/fix.rb, line 23
def new_text=(new_text)
  raise TypeException unless new_text.is_a?(String)
  @newText = new_text
end