class Pione::Location::NotLocal

NotLocal is raised when local location is expected but it is other type location.

Public Class Methods

new(location) click to toggle source
# File lib/pione/location/location-exception.rb, line 41
def initialize(location)
  @location = location
end

Public Instance Methods

message() click to toggle source
# File lib/pione/location/location-exception.rb, line 45
def message
  "the location \"%s\" should local location" % @location.address
end