class SublimeSunippetter::TargetMethod

TargetMethod. this is method information container

Attributes

args[RW]
has_brace_block[RW]
has_do_block[RW]
method_name[RW]

Public Class Methods

new(&block) click to toggle source

generate sublime text2 sunippets from Sunippetdefine

# File lib/target_method.rb, line 9
def initialize(&block)
  instance_eval do
    block.call(self)
  end
end