Module: StoryTeller::Library::LocationInstaller

Defined in:
lib/story_teller/library/location.rb

Overview

module LocationInstaller

Class Method Summary collapse

Class Method Details

.install!Object



41
42
43
44
45
46
47
# File 'lib/story_teller/library/location.rb', line 41

def install!
  return false unless defined?(InformLibrary)
  return false if InformLibrary < StoryTeller::Library::Location

  InformLibrary.prepend(StoryTeller::Library::Location)
  true
end