Module: IshModels

Defined in:
lib/ish_models/railtie.rb,
lib/ish_models.rb,
lib/ish_models/cache_key.rb,
lib/ish_models/configuration.rb

Overview

File.open( '/tmp/this', 'a' ) { |f| f.puts “ish_models/railtie root: #Rails.root” } require Rails.root.join(“config/initializers/00_s3.rb”)

Defined Under Namespace

Classes: CacheKey, Configuration, Railtie, StockWatch, UserProfile

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration


12
13
14
# File 'lib/ish_models.rb', line 12

def configuration
  @configuration
end

Class Method Details

.configureObject


15
16
17
# File 'lib/ish_models.rb', line 15

def self.configure
  @configuration ||= Configuration.new
end

.setup {|configuration| ... } ⇒ Object

Yields:


19
20
21
# File 'lib/ish_models.rb', line 19

def self.setup
  yield(configuration)
end