Sha256: a3f9be091ef25d4988772849bf4cfb06e98befe3cfc321751a7b453803fc7619
Contents?: true
Size: 478 Bytes
Versions: 1
Compression:
Stored size: 478 Bytes
Contents
class Object raise 'Abstract branch conflicts with another Ruby library' if respond_to?(:feature_branch) def self.feature_branch(feature_name, &feature_work) if Settings[Rails.env.to_s]['features'][feature_name] feature_work.call end end raise 'Abstract branch conflicts with another Ruby library' if Object.new.respond_to?(:feature_branch) def feature_branch(feature_name, &feature_work) Object.feature_branch(feature_name, &feature_work) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
abstract_feature_branch-0.1.0 | lib/ext/feature_branch.rb |