1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/rss/syndication.rb: Add nodoc marker for #validate_sy_updatePeriod.

[ci skip][fix GH-1105] Patch by @davydovanton

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2015-11-20 03:44:12 +00:00
parent c267d24ef0
commit 49bb4a1fd9
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Fri Nov 20 12:44:06 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* lib/rss/syndication.rb: Add nodoc marker for #validate_sy_updatePeriod.
[ci skip][fix GH-1105] Patch by @davydovanton
Fri Nov 20 09:05:21 2015 Koichi Sasada <ko1@atdot.net>
* vm.c (rb_vm_cref_replace_with_duplicated_cref): added.

View file

@ -47,7 +47,7 @@ module RSS
private
SY_UPDATEPERIOD_AVAILABLE_VALUES = %w(hourly daily weekly monthly yearly)
def validate_sy_updatePeriod(value)
def validate_sy_updatePeriod(value) # :nodoc:
unless SY_UPDATEPERIOD_AVAILABLE_VALUES.include?(value)
raise NotAvailableValueError.new("updatePeriod", value)
end