Class: QStr

Inherits:
QVal show all
Defined in:
lib/qtypes.rb

Overview

quark strings

Instance Attribute Summary

Attributes inherited from QVal

#val

Instance Method Summary collapse

Methods inherited from QVal

#==, #initialize

Constructor Details

This class inherits a constructor from QVal

Instance Method Details

#qtypeObject



56
# File 'lib/qtypes.rb', line 56

def qtype; :Str end

#to_sObject



52
53
54
# File 'lib/qtypes.rb', line 52

def to_s
  "\"#{@val.to_s}\""
end