Class: Peeky::Example::YardSample
- Inherits:
-
Object
- Object
- Peeky::Example::YardSample
- Defined in:
- lib/peeky/example/yard_sample.rb
Overview
Yard sample
Instance Attribute Summary collapse
-
#a_read_write1 ⇒ Object
A read write1.
-
#a_read_write2 ⇒ Object
A read write2.
-
#a_read_write3 ⇒ Object
A read write3.
-
#b_reader1 ⇒ Object
readonly
B reader1.
-
#b_reader2 ⇒ Object
readonly
B reader2.
-
#c_writer1 ⇒ Object
writeonly
C writer1.
-
#c_writer2 ⇒ Object
writeonly
C writer2.
-
#e_looks_like_an_attr_reader ⇒ Object
readonly
E looks like an attr reader.
Instance Method Summary collapse
-
#alpha_sort1 ⇒ Object
Alpha sort1.
-
#alpha_sort2 ⇒ Object
Alpha sort2.
-
#d_do_something_method ⇒ Object
D do something method.
-
#e_method_with_required_param(first_name) ⇒ Object
E method with required param.
-
#f_method_with_required_param_and_optional_param(first_name, last_name = nil) ⇒ Object
F method with required param and optional param.
-
#g_method_with_required_param_and_two_optional_params(first_name, last_name = nil, age = nil) ⇒ Object
G method with required param and two optional params.
-
#h_list_of_optional_parameters(*command_args) ⇒ Object
H list of optional parameters.
-
#i_method_with_two_required_params_and_list_of_optional_params(first_name, last_name, *alias_names) ⇒ Object
I method with two required params and list of optional params.
-
#j_method_with_list_of_named_arguments(**options) ⇒ Object
J method with list of named arguments.
-
#k_method_with_block(&code_block) ⇒ Object
K method with block.
-
#l_method_with_key_value_param_required(name:) ⇒ Object
L method with key value param required.
-
#n_method_with_key_value_param_required_and_optional_key_value(last_name:, salutation: nil) ⇒ Object
N method with key value param required and optional key value.
-
#p_available? ⇒ Boolean
True when p available?.
-
#q_danger_will_robinson! ⇒ Object
Q danger will robinson!.
-
#z_complex(aaa, bbb = nil, *ccc, ddd:, eee: nil, **fff, &ggg) ⇒ Object
Z complex.
Instance Attribute Details
#a_read_write1 ⇒ Object
A read write1
6 7 8 |
# File 'lib/peeky/example/yard_sample.rb', line 6 def a_read_write1 @a_read_write1 end |
#a_read_write2 ⇒ Object
A read write2
9 10 11 |
# File 'lib/peeky/example/yard_sample.rb', line 9 def a_read_write2 @a_read_write2 end |
#a_read_write3 ⇒ Object
A read write3
12 13 14 |
# File 'lib/peeky/example/yard_sample.rb', line 12 def a_read_write3 @a_read_write3 end |
#b_reader1 ⇒ Object (readonly)
B reader1
15 16 17 |
# File 'lib/peeky/example/yard_sample.rb', line 15 def b_reader1 @b_reader1 end |
#b_reader2 ⇒ Object (readonly)
B reader2
18 19 20 |
# File 'lib/peeky/example/yard_sample.rb', line 18 def b_reader2 @b_reader2 end |
#c_writer1=(value) ⇒ Object (writeonly)
C writer1
24 25 26 |
# File 'lib/peeky/example/yard_sample.rb', line 24 def c_writer1=(value) @c_writer1 = value end |
#c_writer2=(value) ⇒ Object (writeonly)
C writer2
27 28 29 |
# File 'lib/peeky/example/yard_sample.rb', line 27 def c_writer2=(value) @c_writer2 = value end |
#e_looks_like_an_attr_reader ⇒ Object (readonly)
E looks like an attr reader
21 22 23 |
# File 'lib/peeky/example/yard_sample.rb', line 21 def e_looks_like_an_attr_reader @e_looks_like_an_attr_reader end |
Instance Method Details
#alpha_sort1 ⇒ Object
Alpha sort1
30 31 |
# File 'lib/peeky/example/yard_sample.rb', line 30 def alpha_sort1 end |
#alpha_sort2 ⇒ Object
Alpha sort2
34 35 |
# File 'lib/peeky/example/yard_sample.rb', line 34 def alpha_sort2 end |
#d_do_something_method ⇒ Object
D do something method
38 39 |
# File 'lib/peeky/example/yard_sample.rb', line 38 def d_do_something_method end |
#e_method_with_required_param(first_name) ⇒ Object
E method with required param
44 45 |
# File 'lib/peeky/example/yard_sample.rb', line 44 def e_method_with_required_param(first_name) end |
#f_method_with_required_param_and_optional_param(first_name, last_name = nil) ⇒ Object
F method with required param and optional param
51 52 |
# File 'lib/peeky/example/yard_sample.rb', line 51 def f_method_with_required_param_and_optional_param(first_name, last_name = nil) end |
#g_method_with_required_param_and_two_optional_params(first_name, last_name = nil, age = nil) ⇒ Object
G method with required param and two optional params
59 60 |
# File 'lib/peeky/example/yard_sample.rb', line 59 def g_method_with_required_param_and_two_optional_params(first_name, last_name = nil, age = nil) end |
#h_list_of_optional_parameters(*command_args) ⇒ Object
H list of optional parameters
65 66 |
# File 'lib/peeky/example/yard_sample.rb', line 65 def h_list_of_optional_parameters(*command_args) end |
#i_method_with_two_required_params_and_list_of_optional_params(first_name, last_name, *alias_names) ⇒ Object
I method with two required params and list of optional params
73 74 |
# File 'lib/peeky/example/yard_sample.rb', line 73 def i_method_with_two_required_params_and_list_of_optional_params(first_name, last_name, *alias_names) end |
#j_method_with_list_of_named_arguments(**options) ⇒ Object
J method with list of named arguments
79 80 |
# File 'lib/peeky/example/yard_sample.rb', line 79 def j_method_with_list_of_named_arguments(**) end |
#k_method_with_block(&code_block) ⇒ Object
K method with block
85 86 |
# File 'lib/peeky/example/yard_sample.rb', line 85 def k_method_with_block(&code_block) end |
#l_method_with_key_value_param_required(name:) ⇒ Object
L method with key value param required
91 92 |
# File 'lib/peeky/example/yard_sample.rb', line 91 def l_method_with_key_value_param_required(name:) end |
#n_method_with_key_value_param_required_and_optional_key_value(last_name:, salutation: nil) ⇒ Object
N method with key value param required and optional key value
98 99 |
# File 'lib/peeky/example/yard_sample.rb', line 98 def n_method_with_key_value_param_required_and_optional_key_value(last_name:, salutation: nil) end |
#p_available? ⇒ Boolean
Returns true when p available?.
104 105 |
# File 'lib/peeky/example/yard_sample.rb', line 104 def p_available? end |
#q_danger_will_robinson! ⇒ Object
Q danger will robinson!
108 109 |
# File 'lib/peeky/example/yard_sample.rb', line 108 def q_danger_will_robinson! end |
#z_complex(aaa, bbb = nil, *ccc, ddd:, eee: nil, **fff, &ggg) ⇒ Object
Z complex
120 121 |
# File 'lib/peeky/example/yard_sample.rb', line 120 def z_complex(aaa, bbb = nil, *ccc, ddd:, eee: nil, **fff, &ggg) end |