Class: Yaml::Sort::Value
- Inherits:
-
Object
show all
- Defined in:
- lib/yaml/sort/value.rb
Instance Method Summary
collapse
Constructor Details
#initialize ⇒ Value
Returns a new instance of Value.
6
7
8
|
# File 'lib/yaml/sort/value.rb', line 6
def initialize
@comment = []
end
|
Instance Method Details
14
15
16
|
# File 'lib/yaml/sort/value.rb', line 14
def
@comment.join
end
|
#sort ⇒ Object
18
19
20
|
# File 'lib/yaml/sort/value.rb', line 18
def sort
self
end
|
#to_s ⇒ Object
10
11
12
|
# File 'lib/yaml/sort/value.rb', line 10
def to_s(*)
end
|