Sha256: 7bf9155b29dfb462c542a07895caa3c541c70d5dfa7f614430fba9b599e296a3
Contents?: true
Size: 157 Bytes
Versions: 3
Compression:
Stored size: 157 Bytes
Contents
module Crystal class Format < String def method_missing m m = m.to_s super unless m[-1..-1] == '?' self == m[0..-2] end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
crystal-0.0.13 | lib/crystal/support/format.rb |
crystal-0.0.12 | lib/crystal/support/format.rb |
crystal_ext-0.0.11 | lib/crystal/support/format.rb |