Module: Rus3::Procedure::Char

Included in:
Evaluator::Environment
Defined in:
lib/rus3/procedure/char.rb

Instance Method Summary collapse

Instance Method Details

#char_downcase(char) ⇒ Object

  • library procedure (R5RS): (char-downcase char)



28
29
30
# File 'lib/rus3/procedure/char.rb', line 28

def char_downcase(char)
  Rus3::Char.downcase(char)
end

#char_to_integer(char) ⇒ Object

  • procedure (R5RS): (char->integer char)



10
11
12
# File 'lib/rus3/procedure/char.rb', line 10

def char_to_integer(char)
  Rus3::Char.char_to_integer(char)
end

#char_upcase(char) ⇒ Object

  • library procedure (R5RS): (char-upcase char)



22
23
24
# File 'lib/rus3/procedure/char.rb', line 22

def char_upcase(char)
  Rus3::Char.upcase(char)
end

#integer_to_char(n) ⇒ Object

  • procedure (R5RS): (integer->char n)



16
17
18
# File 'lib/rus3/procedure/char.rb', line 16

def integer_to_char(n)
  Rus3::Char.integer_to_char(n)
end