Class: Setup::ApplicationDictionary
- Includes:
- Store
- Defined in:
- lib/pry-byetypo/setup/application_dictionary.rb
Constant Summary
Constants included from Store
Store::DEFAULT_STORE_PATH, Store::SEVEN_DAYS
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(binding) ⇒ ApplicationDictionary
constructor
A new instance of ApplicationDictionary.
Methods included from Store
#staled_store?, #store, #store_path
Methods inherited from Base
Constructor Details
#initialize(binding) ⇒ ApplicationDictionary
Returns a new instance of ApplicationDictionary.
12 13 14 |
# File 'lib/pry-byetypo/setup/application_dictionary.rb', line 12 def initialize(binding) @binding = binding end |
Instance Method Details
#call ⇒ Object
16 17 18 19 20 |
# File 'lib/pry-byetypo/setup/application_dictionary.rb', line 16 def call Setup::Dictionary::ActiveRecord.initialize! if defined?(ActiveRecord) ensure populate_store end |