Class: Nydp::Builtin::TypeOf
- Inherits:
-
Object
- Object
- Nydp::Builtin::TypeOf
- Defined in:
- lib/nydp/builtin/type_of.rb
Instance Method Summary collapse
-
#initialize(ns) ⇒ TypeOf
constructor
A new instance of TypeOf.
- #invoke(vm, args) ⇒ Object
Constructor Details
#initialize(ns) ⇒ TypeOf
Returns a new instance of TypeOf.
2 3 4 |
# File 'lib/nydp/builtin/type_of.rb', line 2 def initialize ns @ns = ns end |