Class: Skeem::SkmBoolean

Inherits:
SkmSimpleDatum show all
Defined in:
lib/skeem/skm_simple_datum.rb

Overview

class

Instance Attribute Summary

Attributes inherited from SkmSimpleDatum

#token, #value

Attributes inherited from SkmElement

#position

Instance Method Summary collapse

Methods inherited from SkmSimpleDatum

#==, #accept, create, #done!, #evaluate, #init_value, #initialize, #position, #quasiquote, #symbol, #verbatim?

Methods inherited from SkmElement

#accept, #bound!, #callable?, #char?, #complex?, #done!, #eqv?, #evaluate, #initialize, #inspect, #integer?, #list?, #null?, #number?, #pair?, #procedure?, #quasiquote, #quoted!, #rational?, #real?, #skm_eq?, #skm_equal?, #string?, #symbol?, #unquoted!, #vector?, #verbatim?

Constructor Details

This class inherits a constructor from Skeem::SkmSimpleDatum

Instance Method Details

#boolean?Boolean

Returns:

  • (Boolean)


94
95
96
# File 'lib/skeem/skm_simple_datum.rb', line 94

def boolean?
  true
end