Sha256: 9dd41876e5cd249cb212c3fc908ff0b4c12f9a7a7f7bff877eb39623ac7d04da

Contents?: true

Size: 370 Bytes

Versions: 2

Compression:

Stored size: 370 Bytes

Contents

# encoding: utf-8

module SublimeSunippetter
  # TargetMethod. this is method information container
  class TargetMethod
    attr_accessor :method_name, :args, :has_do_block, :has_brace_block

    # generate sublime text2 sunippets from Sunippetdefine
    def initialize(&block)
      instance_eval do
        block.call(self)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sublime_sunippetter-0.0.5 lib/target_method.rb
sublime_sunippetter-0.0.4 lib/target_method.rb