Sha256: fea5fccfed5826f229ba2d1628d914e13a4229b4e1b444c0f18af06e1abf1980

Contents?: true

Size: 327 Bytes

Versions: 4

Compression:

Stored size: 327 Bytes

Contents

# This is an example of what you need to do to
# Add a new command to MdInc: Just add a new
# module level method to the MdInc::Commands
# module and off you go.
module MdInc
  module Commands
    def inc_up(path)
      inc(path).map {|s| s.upcase!}
    end

    def multi_up
      content.map {|l| l.upcase}
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
md_inc-0.3.3 spec/new_commands.rb
md_inc-0.3.2 spec/new_commands.rb
md_inc-0.3.1 spec/new_commands.rb
md_inc-0.3.0 spec/new_commands.rb