Sha256: 1c4a7f2f4a868da58d010aaa09c9e47da725f1a67e1cf2350f68436f5751fc32
Contents?: true
Size: 542 Bytes
Versions: 16
Compression:
Stored size: 542 Bytes
Contents
module A class B notaconstant = 2 SOMECONSTANT= "hello" def method SOMECONSTANT = "don't document this" end MYCONSTANT = A + B + C + D end end MyClass = Struct.new(:a, :b, :c) NotMyClass = Struct.new("NotMyClass2", :b, :c) MyEmptyStruct = Struct.new # A crazy struct. # # @attr [String] bar An attr # @attr [Number] baz Another attr # @!attribute new_syntax # Attribute defined with the new syntax # @return [Symbol] something usefull DocstringStruct = Struct.new(:bar, :baz, :new_syntax)
Version data entries
16 entries across 13 versions & 4 rubygems