Skip to content

Commit

Permalink
Consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
joemsak committed Oct 3, 2012
1 parent fcd6411 commit 9baa5d8
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions lib/lexhub.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ module Lexhub
class << self
# Public Gets/Sets Configuration configuration
attr_accessor :configuration
end

# Public: Configure the gem
#
# Examples
#
# Lexhub.configure do |config|
# config.oauth_token = '123abc'
# end
#
# Returns Configuration object
def self.configure
self.configuration ||= Configuration.new
yield(configuration) if block_given?
# Public: Configure the gem
#
# Examples
#
# Lexhub.configure do |config|
# config.oauth_token = '123abc'
# end
#
# Returns Configuration object
def configure
self.configuration ||= Configuration.new
yield(configuration) if block_given?
end
end
end

Expand Down

0 comments on commit 9baa5d8

Please sign in to comment.