Class: True

Inherits:
Boolean show all
Defined in:
lib/core/syntax/True.rb

Instance Method Summary collapse

Constructor Details

#initializeTrue

Returns a new instance of True.



4
5
6
# File 'lib/core/syntax/True.rb', line 4

def initialize
  
end

Instance Method Details

#copyObject



16
17
18
# File 'lib/core/syntax/True.rb', line 16

def copy
  return True.new
end

#describeObject



12
13
14
# File 'lib/core/syntax/True.rb', line 12

def describe
  return write
end

#writeObject



8
9
10
# File 'lib/core/syntax/True.rb', line 8

def write
  return 'true'
end