Module: A

Includes:
B
Defined in:
(stdin)

Overview

Comments

Defined Under Namespace

Modules: Z Classes: Q, X, Y

Constant Summary

CONSTANT =
'value'
@@cvar =
'value'

Instance Attribute Summary

Class Method Summary

Instance Method Summary

Methods included from B

#c, #d

Instance Attribute Details

- attr1

Returns the value of attribute attr1


10
11
12
# File '(stdin)', line 10

def attr1
  @attr1
end

- attr2 (readonly)

Returns the value of attribute attr2


11
12
13
# File '(stdin)', line 11

def attr2
  @attr2
end

- (String) attr3 - attr3=(value)

Overloads:

  • - (String) attr3
    A string

    Returns:

    • (String) — a string
  • - attr3=(value)

    This method returns an undefined value.

    Parameters:

    • (String) value — sets the string


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

def attr3
  @attr3
end

- attr4=(value) (writeonly)

Sets the attribute attr4

Parameters:

  • value — the value to set the attribute attr4 to.


20
21
22
# File '(stdin)', line 20

def attr4=(value)
  @attr4 = value
end

Class Method Details

+ a



22
# File '(stdin)', line 22

def self.a; end

Instance Method Details

- a Also known as: b



23
# File '(stdin)', line 23

def a; end

- test_multi_overload(a) - test_multi_overload(a, b)



33
# File '(stdin)', line 33

def test_multi_overload(*args) end

- test_overload(a)

hello2

Parameters:

  • (String) a — hi


29
# File '(stdin)', line 29

def test_overload(*args) end

- void_meth

This method returns an undefined value.



36
# File '(stdin)', line 36

def void_meth; end