Module: A

Includes:
B, BaseMod
Included in:
TMP, TMP2
Defined in:
(stdin)

Overview

Comments

Defined Under Namespace

Modules: Z Classes: Q, X, Y

Constant Summary

CONSTANT =
A long docstring for the constant. With extra text and newlines.
'value'
@@cvar =
Deprecated.
'value'

Instance Attribute Summary collapse

Attributes included from BaseMod

#base_attr1, #base_attr2, #base_attr3

Class Method Summary collapse

Instance Method Summary collapse

Methods included from B

#c, #d

Instance Attribute Details

#attr1

Returns the value of attribute attr1


17
18
19
# File '(stdin)', line 17

def attr1
  @attr1
end

#attr2 (readonly)

Returns the value of attribute attr2


18
19
20
# File '(stdin)', line 18

def attr2
  @attr2
end

#attr3String #attr3=(value)

Overloads:

  • #attr3String
    Returns a string

    Returns:

    • (String)
      a string
  • #attr3=(value)

    This method returns an undefined value.

    Parameters:

    • value (String)
      sets the string


25
26
27
# File '(stdin)', line 25

def attr3
  @attr3
end

#attr4=(value) (writeonly)

Sets the attribute attr4

Parameters:

  • value
    the value to set the attribute attr4 to.


27
28
29
# File '(stdin)', line 27

def attr4=(value)
  @attr4 = value
end

Class Method Details

.a



29
# File '(stdin)', line 29

def self.a; end

Instance Method Details

#a Also known as: b



30
# File '(stdin)', line 30

def a; end

#test_multi_overload(a) #test_multi_overload(a, b)



40
# File '(stdin)', line 40

def test_multi_overload(*args) end

#test_overload(a)

hello2

Parameters:

  • a (String)
    hi


36
# File '(stdin)', line 36

def test_overload(*args) end

#void_meth

This method returns an undefined value.



43
# File '(stdin)', line 43

def void_meth; end