class Terrestrial::ObjectStore
Public Class Methods
new(stores)
click to toggle source
# File lib/terrestrial/public_conveniencies.rb, line 15 def initialize(stores) @mappings = stores.keys @stores = stores end
Public Instance Methods
[](mapping_name)
click to toggle source
# File lib/terrestrial/public_conveniencies.rb, line 20 def [](mapping_name) @stores[mapping_name] end
from(mapping_name)
click to toggle source
# File lib/terrestrial/public_conveniencies.rb, line 24 def from(mapping_name) fetch(mapping_name) end
Private Instance Methods
inspectable_properties()
click to toggle source
# File lib/terrestrial/public_conveniencies.rb, line 30 def inspectable_properties [ :mappings ] end