Module: SocialShareButton

Defined in:
lib/social-share-button.rb,
lib/social_share_button/config.rb,
lib/social_share_button/engine.rb,
lib/social_share_button/helper.rb,
lib/social_share_button/version.rb,
lib/social_share_button/railtie.rb,
lib/generators/social_share_button/install_generator.rb

Defined Under Namespace

Modules: Generators, Helper, Rails Classes: Config

Constant Summary

VERSION =
"0.1.6"

Class Attribute Summary (collapse)

Class Method Summary (collapse)

Class Attribute Details

+ (Object) config

Returns the value of attribute config



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

def config
  @config
end

Class Method Details

+ (Object) configure {|self.config ||= Config.new| ... }

Yields:



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

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