module Haml::Util
def ord(c)
-
(Fixnum)
- The ASCII code of `c`.
Parameters:
-
c
(String
) -- All characters but the first are ignored.
def ord(c) ruby1_8? ? c[0] : c.ord end
(Fixnum)
- The ASCII code of `c`.
c
(String
)
-- All characters but the first are ignored.
def ord(c) ruby1_8? ? c[0] : c.ord end