Module: Filecoin::Configurable

Included in:
Filecoin
Defined in:
lib/filecoin/configuration.rb

Instance Method Summary collapse

Instance Method Details

#configurationObject Also known as: config



11
12
13
# File 'lib/filecoin/configuration.rb', line 11

def configuration
  @configuration ||= Configuration.new
end

#configure {|configuration| ... } ⇒ Object

Yields:



16
17
18
# File 'lib/filecoin/configuration.rb', line 16

def configure
  yield configuration
end