Sha256: 5a5a416aa75d37ea4fdacbaf90407e47f960232b7a57759fd8322019b15e6ff9
Contents?: true
Size: 457 Bytes
Versions: 2
Compression:
Stored size: 457 Bytes
Contents
class Range def begin `return self.beg;` end alias_method :first, :begin def end `return self.end;` end def to_s `var str = #{`self.beg`.to_s}; var str2 = #{`self.end`.to_s}; var join = self.exc ? '...' : '..'; return str + join + str2;` end def inspect `var str = #{`self.beg`.inspect}; var str2 = #{`self.end`.inspect}; var join = self.exc ? '...' : '..'; return str + join + str2;` end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
opal-0.3.10 | corelib/range.rb |
opal-0.3.9 | corelib/range.rb |