Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove unused method

  • Loading branch information...
commit 2ea4e17554d93409a0b40e8da32858b27845d912 1 parent d953594
@eudoxa eudoxa authored
Showing with 0 additions and 8 deletions.
  1. +0 −8 lib/chanko/invoker.rb
View
8 lib/chanko/invoker.rb
@@ -3,7 +3,6 @@ module Invoker
def self.included(obj)
obj.class_eval do
include InstanceMethods
- extend ClassMethods
mattr_accessor :defined_blocks
attr_accessor :attached_unit_classes
@@ -20,13 +19,6 @@ def method_missing(method_symbol, *args)
end
end
- module ClassMethods
- def define_once(name)
- return if self.instance_methods.map(&:to_s).include?(name.to_s)
- yield
- end
- end
-
module InstanceMethods
def view?
self.is_a?(ActionView::Base) && respond_to?("concat")
Please sign in to comment.
Something went wrong with that request. Please try again.