Sha256: 51f59adbfe4748f1d57660e96127cbaadafab726069bb312e281896272fbce04
Contents?: true
Size: 1.31 KB
Versions: 6
Compression:
Stored size: 1.31 KB
Contents
class Foo class << self def inherited; end def included; end # docstring def extended; end def method_added; end def method_removed; end def method_undefined; end end # A docstring but no return type def initialize; end def ==(other) 'hello' end def /(other) 'hi' end attr_reader :method1 def method1 def dynamic; end end def self.method2; end # Docstring def String :: hello; "" end def self.new() end def [](key = 'default') puts key end def []=(key, value) end def allowed? end def ` param; end def /(x = File.new('x', 'w'), y = 2) end def |; end; def =~ () def -@; end; end def *(o) def +@; end def ~@ end end def &(o) end def %(o) end def ^(o) end def optsmeth(x, opts = {}) end def blockmeth(x, &block) end # @param a [Fixnum] # @overload def bar(a, b = 1) # @param a [String] # @return [String] # @overload def baz(b, c) # @return [Fixnum] # @overload bang(d, e) def foo(*args); end # No return tag def boolean?; end # @return without type def boolean2?; end # @return [NotBoolean, nil] def boolean3?; end attr_writer :attr_name def attr_name; end attr_reader :attr_name2 def attr_name2=; end # @option opts :bar [String] It's bar! def auto_opts(opts) end end
Version data entries
6 entries across 6 versions & 1 rubygems