Class: Dramatis::Actor::Name
- Inherits:
-
Object
- Object
- Dramatis::Actor::Name
- 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
-
#dup ⇒ Object
:nodoc:.
-
#method_missing(*args, &block) ⇒ Object
:nodoc:.
-
#to_s_off ⇒ Object
:nodoc:.
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: = if block = .clone [:block] = block end @actor.object_send args, end |
Instance Method Details
#dup ⇒ Object
:nodoc:
22 23 24 |
# File 'lib/dramatis/actor/name.rb', line 22 def dup #:nodoc: raise "hell again" end |
#to_s_off ⇒ Object
:nodoc:
18 19 20 |
# File 'lib/dramatis/actor/name.rb', line 18 def to_s_off #:nodoc: method_missing :to_s end |