class PseudoEntity::Randoms::RandomLocations
Public Class Methods
new(locations)
click to toggle source
Calls superclass method
# File lib/pseudo_entity/randoms.rb, line 813 def initialize(locations) super(locations.dup) end
Public Instance Methods
fetch(x)
click to toggle source
Calls superclass method
# File lib/pseudo_entity/randoms.rb, line 817 def fetch(x) location = super(x) if location.is_a?(Hash) location = Location.new(location) enum[x] = location end location end