Sha256: e8600e2de31d92972e6919b1d1a024b50762990ad27c15f78ec798403cd750c7
Contents?: true
Size: 413 Bytes
Versions: 2
Compression:
Stored size: 413 Bytes
Contents
module Skr module Print class Context < ErbLatex::Context def pluralize(count, word) count == 1 ? word : word.pluralize end def get_snippet(name) snips = Skr.system_settings['latex_snippets'] || {} if name && snips[name] snips[name] end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stockor-0.5.0 | lib/skr/print/context.rb |
stockor-0.4.0 | lib/skr/print/context.rb |