Results 1-25 of about 6,186 results found for 'method_missing' in 0.47 seconds
 1 2345678910...

scintilla.rb
  end
  class Properties
    def method_missing(property, *args)
      return eval("@#{property}")
    end
Language: Ruby
(c) 2001, Richard Kilmer, rich@infoether.com
LOC: 497
Savannah NonGNU : FreeRIDE (project search) : .../freeride/plugins/rubyide_fox_gui/fxscintilla/scintilla.rb

weblog.rb
module Hobix
# The UriStr mixin ensures that URIs are supplied a to_str
# method and a to_yaml method which allows the URI to act more
# like a string.  In most cases, Hobix users will be using URIs
# as strings.
Language: Ruby
(c) 2003-2004 why the lucky stiff...
LOC: 464
RubyForge : Hobix (project search) : .../hobix/hobix/lib/hobix/weblog.rb

method_missing_chain_override.rb
module Module1
  def method_missing(name, *args)
    p "Module 1"
    super(name, *args)
Language: Ruby
LOC: 31
RubyForge (SVN) : bunraku (project search) : .../bunraku/bunraku/trunk/hacks/method_missing_chain_override.rb

method_missing_chain_override.rb
module Module1
  def method_missing(name, *args)
    p "Module 1"
    super(name, *args)
Language: Ruby
LOC: 31
RubyForge (SVN) : bunraku (project search) : .../bunraku/tags/bunraku-3.0.0/hacks/method_missing_chain_override.rb

spike.rb
end
foo = Foo.new
puts foo.respond_to?(:method_missing)
puts foo.respond_to?(:blah)
class Foo
Language: Ruby
LOC: 11
Codehaus (LiveTribe) : jbehave (project search) : .../jbehave/rbehave/trunk/spike.rb

RFSnippet56.rb
alias old_method_missing method_missing
def method_missing(name, *args)
    exname = name.to_s
Language: Ruby
LOC: 16
Spider_rubyforge01 : RubyForge Snippet - IRB as a shell (project search) : .../repository/rubyforge/RubyForge_Snippet_-_IRB_as_a_shell/RFSnippet56.rb

method_missing_chain.rb
module Module1
  def method_missing(name, *args)
    p "Module 1"
    super(name, *args)
Language: Ruby
LOC: 26
RubyForge (SVN) : bunraku (project search) : .../bunraku/bunraku/trunk/hacks/method_missing_chain.rb

method_missing_chain.rb
module Module1
  def method_missing(name, *args)
    p "Module 1"
    super(name, *args)
Language: Ruby
LOC: 26
RubyForge (SVN) : bunraku (project search) : .../bunraku/tags/bunraku-3.0.0/hacks/method_missing_chain.rb

helpers.rb
module Helpers
  module HashKeyMethod
    def method_missing(method, *args)
          self[method.to_sym]
Language: Ruby
LOC: 10
RubyForge (SVN) : Ruby Ghost Engine - Document Builder (project search) : .../rghost/rghost/lib/rghost/helpers.rb

helpers.rb
module RGhost::UnlessHelpers #:nodoc:
  module HashKeyMethod #:nodoc:
    def method_missing(method, *args)
      self[method.to_sym]
Language: Ruby
LOC: 10
Spider_rubyforge01 : Ruby Ghost Engine - Document Builder (project search) : .../rghost-0.8.3.gem/data.tar.gz.---/lib/rghost/helpers.rb

method_missing_example.rb
#!/usr/bin/env ruby
# Example demonstrating "around" advice for method_missing. This is a technique for
# avoiding collisions when different toolkits want to override method_missing in the
# same classes, e.g., Object. Using around advice as shown allows a toolkit to add
Language: Ruby
LOC: 26
RubyForge (SVN) : Aquarium: Aspects for Ruby (project search) : .../aquarium/trunk/aquarium/examples/method_missing_example.rb

method_missing_example.rb
#!/usr/bin/env ruby
# Example demonstrating "around" advice for method_missing. This is a technique for
# avoiding collisions when different toolkits want to override method_missing in the
# same classes, e.g., Object. Using around advice as shown allows a toolkit to add
Language: Ruby
LOC: 26
RubyForge (SVN) : Aquarium: Aspects for Ruby (project search) : .../aquarium/trunk/aquarium/examples/method_missing_example.rb

stencil.rb
  attr_accessor :template
  delegate :to_s, :to => :draw
  # Forward all missing methods to <tt>template</tt>, since
  # we may be trying to instantiate another Stencil object
  # (and respond_to? ignores method_missing-handled methods)
Language: Ruby
LOC: 10
RubyForge (SVN) : stencil (project search) : .../stencil/stencil/trunk/lib/stencil.rb

testMethods.rb
require 'test/minirunit'
test_check "Test Methods"
def testMethod
    $toto = true
Language: Ruby
LOC: 103
RubyForge (SVN) : Chizzle - A RubyCocoa Based Ruby IDE (project search) : .../trunk/ironruby/jruby.net/test/testMethods.rb

base.rb
        @options = options.dup
      end
      def method_missing(name, *args)
        @collection.send name, *args
      end
Language: Ruby
LOC: 14
Spider_rubyforge01 : Stellr (project search) : .../data.tar.gz.---/lib/stellr/strategies/base.rb

base.rb
        @options = options.dup
      end
      def method_missing(name, *args)
        @collection.send name, *args
      end
Language: Ruby
LOC: 14
Spider_rubyforge01 : Stellr (project search) : .../stellr-0.1.2/lib/stellr/strategies/base.rb

recipe2.rb
      end
    end
    deflect_start(Numeric, :method_missing, deflector)
    deflector2 = Deflector.new do |unit, id, name|
      ingredient = Ingredient.ingredient(name, unit)
Language: Ruby
LOC: 67
RubyForge (SVN) : DSL Kit (project search) : .../d/dslkit/trunk/examples/recipe2.rb

method_missing_example_spec.rb
require File.dirname(__FILE__) + '/../spec/aquarium/spec_helper.rb'
require 'aquarium'
# Example demonstrating "around" advice for method_missing. This is a technique for
# avoiding collisions when different toolkits want to override method_missing in the
# same classes, e.g., Object. Using around advice as shown allows a toolkit to add
Language: Ruby
LOC: 44
RubyForge (SVN) : Aquarium: Aspects for Ruby (project search) : .../aquarium/trunk/aquarium/examples/method_missing_example_spec.rb

stub.rb
module NotAMock
  class Stub
    def initialize(object_name, methods = {})
      @name     = object_name.to_s
      @call_log = []
Language: Ruby
LOC: 28
RubyForge (SVN) : Not A Mock (project search) : .../notamock/trunk/lib/not_a_mock/stub.rb

string_to.rb
# This package installs method_missing handler to String class which handles
# to_xxxx_xxxx message to parse itself and convert into XxxxXxxx by sending
# parse message to XxxxXxxx class.
Language: Ruby
LOC: 14
RubyForge (SVN) : string-to (project search) : .../s/string-to/string-to/lib/string_to.rb

dynamic_method.rb
module Luruju
  module DynamicMethod
    class IsNotMyRole < StandardError
    end
Language: Ruby
LOC: 16
Spider_rubyforge01 : LuRuJu (project search) : .../luruju-0.0.1.gem/data.tar.gz.---/lib/luruju/dynamic_method.rb

dynamic_method.rb
module Luruju
  module DynamicMethod
    class IsNotMyRole < StandardError
    end
Language: Ruby
LOC: 16
Spider_rubyforge01 : LuRuJu (project search) : .../luruju-0.0.1.tgz/luruju-0.0.1/lib/luruju/dynamic_method.rb

module.rb
class Module
  def method_missing(method_name, *args, &block)
    @arg_sets ||= {}
    @arg_sets[method_name] = [args, block]
Language: Ruby
LOC: 16
RubyForge (SVN) : Tartan Text Parser (project search) : .../tags/0.1.0/lib/core_ext/module.rb

module.rb
class Module
  def method_missing(method_name, *args, &block)
    @arg_sets ||= {}
    @arg_sets[method_name] = [args, block]
Language: Ruby
LOC: 16
RubyForge (SVN) : Tartan Text Parser (project search) : .../tags/0.1.1/lib/core_ext/module.rb

assert_helper.rb
      base.module_eval do
        class << self
          for meth in methods
            undef_method(meth) if meth.to_s =~ /^assert_/ || meth.to_s =~ /^assert$/
          end
Language: Ruby
LOC: 60
RubyForge (SVN) : SpecUnit (project search) : .../spec-unit/spec-unit/lib/spec-unit/assert_helper.rb

 1 2345678910...

Project Matches

string-to - This package installs method_missing handler to...








About Koders | Resources | Downloads | Support | Black Duck | Submit Project | Terms of Service | DMCA | Privacy Policy | Site Map| Contact Us