Sha256: 3cea520c6ecf9bc61dd1c44eb76aa10bbbaa44a61959c5e196fb970ad111751d

Contents?: true

Size: 270 Bytes

Versions: 46

Compression:

Stored size: 270 Bytes

Contents

module SiteHook
  class Prompt
    def self.inherited(base)
      base.class_eval do
        Prompt.class_variable_set(:'@@runnable', runnable)
      end
    end
    define_singleton_method :runnable do |mlist|
      puts mlist
    end
    def self.run
    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
site_hook-0.9.8 lib/site_hook/prompt.rb
site_hook-0.9.7 lib/site_hook/prompt.rb
site_hook-0.9.6 lib/site_hook/prompt.rb
site_hook-0.9.5 lib/site_hook/prompt.rb
site_hook-0.9.4 lib/site_hook/prompt.rb
site_hook-0.9.3 lib/site_hook/prompt.rb