module Tablets::Global::Store

Tables store Expects @tablets to be defined elsewhere

Public Instance Methods

register_tablet(name, tablet_class) click to toggle source

put tablet into store

# File lib/tablets/global/store.rb, line 17
def register_tablet(name, tablet_class)
  @tablets ||= {}
  @tablets[name] = tablet_class
end
tablets() click to toggle source
# File lib/tablets/global/store.rb, line 12
def tablets
  @tablets || {}
end