Module: LowVoltage

Defined in:
lib/low_voltage.rb,
lib/low_voltage/post.rb,
lib/low_voltage/engine.rb,
lib/low_voltage/version.rb,
lib/low_voltage/post_finder.rb,
lib/low_voltage/configuration.rb

Defined Under Namespace

Classes: Configuration, Engine, Post, PostFinder, PostsController

Constant Summary collapse

VERSION =
"0.0.3"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



9
10
11
# File 'lib/low_voltage.rb', line 9

def configuration
  @configuration
end

Class Method Details

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

Yields:



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

def self.configure
  yield(configuration) if block_given?
end