Johnny Cash
Johnny Cash

Reputation: 5147

ruby klout gem include change

Currently I use klout gem in many times for all my projects. In the gem, there is:

Hash.send :include, Hashie::HashExtensions

hash extension include but I want to change it to:

Hash.send :include, Hashie::Extensions

How can I overwrite this line?

PS: I suggest you to check source code of the gem, especially klout.rb

Upvotes: 0

Views: 77

Answers (1)

netoctone
netoctone

Reputation: 231

You can fork the klout github repository, push commits with changes to your fork, and then use it How to install gem from GitHub source?

For example, if you use bundler, you can write in Gemfile

gem 'klout', :git => 'git://github.com/tyrbo/klout.git', :branch => 'hashie_fix'

to use alredy existing klout fork with a fix

Upvotes: 1

Related Questions