lib/konstructor/main.rb in konstructor-0.4.6 vs lib/konstructor/main.rb in konstructor-0.4.7
- old
+ new
@@ -6,12 +6,12 @@
module Konstructor
module KonstructorMethod
private
- # konstructor -> nil
- # konstructor(symbol, ...) -> nil
+ # konstructor -> nil or
+ # konstructor(symbol, ...) -> nil or
# konstructor(string, ...) -> nil
#
# If used without params, declares next method as constructor.
#
# module SomeClass
@@ -50,10 +50,10 @@
# => 6
#
# Can be used multiple times with various arguments,
# all calls add up without overwriting each other.
#
- # Can raise several errors inheriting from <code>Konstructor::Error</code>
+ # Can raise several errors inheriting from <code>Konstructor::Error</code>:
# ReservedNameError
# DeclaringInheritedError
# IncludingInModuleError
#
# @!visibility public
\ No newline at end of file