Module: ShButton

Defined in:
lib/sh_button.rb,
lib/sh_button/config.rb,
lib/sh_button/engine.rb,
lib/sh_button/helper.rb,
lib/sh_button/version.rb,
lib/generators/sh_button/install_generator.rb

Defined Under Namespace

Modules: Generators, Helper, Rails Classes: Config

Constant Summary collapse

VERSION =
"0.1.3"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject

Returns the value of attribute config.



3
4
5
# File 'lib/sh_button/config.rb', line 3

def config
  @config
end

Class Method Details

.configure {|self.config ||= Config.new| ... } ⇒ Object

Yields:



4
5
6
# File 'lib/sh_button/config.rb', line 4

def configure
  yield self.config ||= Config.new
end