Class: Dramatis::Actor::Name

Inherits:
Object
  • Object
show all
Defined in:
lib/dramatis/actor/name.rb,
lib/dramatis/actor/name.rb,
lib/dramatis/actor/name/interface.rb

Overview

Dramatis::Actor::Name has no user-callable methods (except for the implicit method_missing). Other actor name operations are available through the Dramatis::Actor::Name::Interface object, accessible via Dramatis.interface.

Defined Under Namespace

Classes: Interface

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(*args, &block) ⇒ Object

:nodoc:



26
27
28
29
30
31
32
33
# File 'lib/dramatis/actor/name.rb', line 26

def method_missing *args, &block  #:nodoc:
  options = @options
  if block
    options = options.clone
    options[:block] = block
  end
  @actor.object_send args, options
end

Instance Method Details

#dupObject

:nodoc:



22
23
24
# File 'lib/dramatis/actor/name.rb', line 22

def dup #:nodoc:
  raise "hell again"
end

#to_s_offObject

:nodoc:



18
19
20
# File 'lib/dramatis/actor/name.rb', line 18

def to_s_off #:nodoc:
  method_missing :to_s
end