lib/csl/locale.rb in csl-1.0.0.pre6 vs lib/csl/locale.rb in csl-1.0.0.pre7
- old
+ new
@@ -60,14 +60,14 @@
alias_child :options, :style_options
private :attributes
undef_method :[]=
- # call-seq:
- # Locale.new -> default
- # Locale.new('en') -> American English
- # Locale.new('en', :'punctuation-in-quote' => fales) -> with style-options
- # Locale.new(:lang => 'en-GB', :version => '1.0') -> British English
+ # @example
+ # Locale.new #-> default
+ # Locale.new('en') #-> American English
+ # Locale.new('en', :'punctuation-in-quote' => fales) #-> with style-options
+ # Locale.new(:lang => 'en-GB', :version => '1.0') #-> British English
#
# Returns a new locale. In the first form, the language/regions is set
# to the default language and region. In the second form the
# language/region is set by the passed-in IETF tag. The third form
# additionally accepts a hash of localize style-options. The fourth form
\ No newline at end of file