Class: SimpleDelegator
Instance Method Summary collapse
- #==(x) ⇒ Object
- #===(x) ⇒ Object
- #class ⇒ Object
- #instance_of?(c) ⇒ Boolean
-
#is_a?(c) ⇒ Boolean
pass methods through to wrapped object necessary when type casts are inside type-level code.
- #kind_of?(c) ⇒ Boolean
- #nil? ⇒ Boolean
Instance Method Details
#==(x) ⇒ Object
865 866 867 |
# File 'lib/rdl/wrap.rb', line 865 def ==(x) __getobj__ == x end |
#===(x) ⇒ Object
861 862 863 |
# File 'lib/rdl/wrap.rb', line 861 def ===(x) __getobj__ === x end |
#class ⇒ Object
869 870 871 |
# File 'lib/rdl/wrap.rb', line 869 def class __getobj__.class end |
#instance_of?(c) ⇒ Boolean
853 854 855 |
# File 'lib/rdl/wrap.rb', line 853 def instance_of?(c) __getobj__.instance_of?(c) end |
#is_a?(c) ⇒ Boolean
pass methods through to wrapped object necessary when type casts are inside type-level code
849 850 851 |
# File 'lib/rdl/wrap.rb', line 849 def is_a?(c) __getobj__.is_a?(c) end |
#kind_of?(c) ⇒ Boolean
857 858 859 |
# File 'lib/rdl/wrap.rb', line 857 def kind_of?(c) __getobj__.kind_of?(c) end |
#nil? ⇒ Boolean
873 874 875 |
# File 'lib/rdl/wrap.rb', line 873 def nil? __getobj__.nil? end |