module Nem::Client::Local

Public Instance Methods

local?() click to toggle source
# File lib/nem/client.rb, line 162
def local?
  host == '127.0.0.1' || host == 'localhost'
end
remote?() click to toggle source
# File lib/nem/client.rb, line 166
def remote?
  !local?
end