Sha256: 73d881d44275a02c89a1afa04225c60e8b9078a8967990dd3256e1f8aac178a6

Contents?: true

Size: 702 Bytes

Versions: 1

Compression:

Stored size: 702 Bytes

Contents

class RubyDictionary::Method
  include Findable::InstanceMethods
  attr_accessor :name, :callseq, :description, :examples, :method_type, :klass
  @@all = []

  def initialize(name=nil,callseq=nil,description=nil,examples=nil,method_type=nil, klass_name=nil, klass=nil)
    @name = name
    @callseq = callseq
    @description = description
    @examples = examples
    @method_type = method_type
    @klass_name = klass_name
    @klass = klass
    #self.klass=(klass_name) unless klass_name == nil

  end

#  def klass=(klass)
#    binding.pry
#    @klass = klass
#    if self.method_type == "Class"
#      klass.add_klass_method(self)
#    else
#      klass.add_inst_method(self)
#    end
#  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby_dictionary-1.0.0 lib/ruby_dictionary/method.rb