Commit 2b2ff844 authored by Kazuhiro Sera's avatar Kazuhiro Sera Committed by Yukihiro "Matz" Matsumoto

Fix misspelling words in comments

parent b083c135
...@@ -179,11 +179,11 @@ Version requirement supports following operators: ...@@ -179,11 +179,11 @@ Version requirement supports following operators:
When more than one version requirements is passed, the dependency must satisfy all of it. When more than one version requirements is passed, the dependency must satisfy all of it.
You can have default gem to use as depedency when it's not defined in *build_config.rb*. You can have default gem to use as dependency when it's not defined in *build_config.rb*.
When the last argument of `add_dependency` call is `Hash`, it will be treated as default gem information. When the last argument of `add_dependency` call is `Hash`, it will be treated as default gem information.
Its format is same as argument of method `MRuby::Build#gem`, expect that it can't be treated as path gem location. Its format is same as argument of method `MRuby::Build#gem`, expect that it can't be treated as path gem location.
When a special version of depedency is required, When a special version of dependency is required,
use `MRuby::Build#gem` in *build_config.rb* to override default gem. use `MRuby::Build#gem` in *build_config.rb* to override default gem.
If you have conflicting GEMs use the following method: If you have conflicting GEMs use the following method:
......
...@@ -783,7 +783,7 @@ MRB_API struct RClass * mrb_define_module_under(mrb_state *mrb, struct RClass *o ...@@ -783,7 +783,7 @@ MRB_API struct RClass * mrb_define_module_under(mrb_state *mrb, struct RClass *o
#define MRB_ARGS_REQ(n) ((mrb_aspec)((n)&0x1f) << 18) #define MRB_ARGS_REQ(n) ((mrb_aspec)((n)&0x1f) << 18)
/** /**
* Funtion takes n optional arguments * Function takes n optional arguments
* *
* @param n * @param n
* The number of optional arguments. * The number of optional arguments.
...@@ -791,7 +791,7 @@ MRB_API struct RClass * mrb_define_module_under(mrb_state *mrb, struct RClass *o ...@@ -791,7 +791,7 @@ MRB_API struct RClass * mrb_define_module_under(mrb_state *mrb, struct RClass *o
#define MRB_ARGS_OPT(n) ((mrb_aspec)((n)&0x1f) << 13) #define MRB_ARGS_OPT(n) ((mrb_aspec)((n)&0x1f) << 13)
/** /**
* Funtion takes n1 mandatory arguments and n2 optional arguments * Function takes n1 mandatory arguments and n2 optional arguments
* *
* @param n1 * @param n1
* The number of required arguments. * The number of required arguments.
......
...@@ -95,7 +95,7 @@ module MiniRake ...@@ -95,7 +95,7 @@ module MiniRake
def done?; @done end def done?; @done end
def running?; @running end def running?; @running end
# Invoke the task if it is needed. Prerequites are invoked first. # Invoke the task if it is needed. Prerequisites are invoked first.
def invoke def invoke
puts "Invoke #{name} (already=[#{@already_invoked}], needed=[#{needed?}])" if $trace puts "Invoke #{name} (already=[#{@already_invoked}], needed=[#{needed?}])" if $trace
return if @already_invoked return if @already_invoked
......
...@@ -317,7 +317,7 @@ TestConstNameSubClass.new.m() ...@@ -317,7 +317,7 @@ TestConstNameSubClass.new.m()
bp = nil bp = nil
SRC SRC
# todo: wait for 'break' to be implimented # todo: wait for 'break' to be implemented
tc = [] tc = []
9.times { tc << {:cmd=>"s"} } 9.times { tc << {:cmd=>"s"} }
tc << {:cmd=>"p CONST", :exp=>"super class"} tc << {:cmd=>"p CONST", :exp=>"super class"}
......
...@@ -300,7 +300,7 @@ mrb_basicsocket_getpeereid(mrb_state *mrb, mrb_value self) ...@@ -300,7 +300,7 @@ mrb_basicsocket_getpeereid(mrb_state *mrb, mrb_value self)
mrb_ary_push(mrb, ary, mrb_fixnum_value((mrb_int)egid)); mrb_ary_push(mrb, ary, mrb_fixnum_value((mrb_int)egid));
return ary; return ary;
#else #else
mrb_raise(mrb, E_RUNTIME_ERROR, "getpeereid is not avaialble on this system"); mrb_raise(mrb, E_RUNTIME_ERROR, "getpeereid is not available on this system");
return mrb_nil_value(); return mrb_nil_value();
#endif #endif
} }
......
...@@ -22,7 +22,7 @@ assert('Literals Numerical', '8.7.6.2') do ...@@ -22,7 +22,7 @@ assert('Literals Numerical', '8.7.6.2') do
# decimal # decimal
assert_equal 999, 0d999 assert_equal 999, 0d999
assert_equal 999, 0D999 assert_equal 999, 0D999
# decimal seperator # decimal separator
assert_equal 10000000, 10_000_000 assert_equal 10000000, 10_000_000
assert_equal 10, 1_0 assert_equal 10, 1_0
# integer with exponent # integer with exponent
......
...@@ -699,7 +699,7 @@ end ...@@ -699,7 +699,7 @@ end
end end
end end
# these assertions will not run without a #assert_seperately method # these assertions will not run without a #assert_separately method
#assert 'test_prepend_optmethod' do #assert 'test_prepend_optmethod' do
# bug7983 = '[ruby-dev:47124] [Bug #7983]' # bug7983 = '[ruby-dev:47124] [Bug #7983]'
# assert_separately [], %{ # assert_separately [], %{
...@@ -807,7 +807,7 @@ end ...@@ -807,7 +807,7 @@ end
assert_equal([m, c2, m, c1], c2.ancestors[0, 4], "should accesisble prepended module in superclass") assert_equal([m, c2, m, c1], c2.ancestors[0, 4], "should accesisble prepended module in superclass")
end end
# requires #assert_seperately # requires #assert_separately
#assert 'Module#prepend call super' do #assert 'Module#prepend call super' do
# assert_separately([], <<-'end;') #do # assert_separately([], <<-'end;') #do
# bug10847 = '[ruby-core:68093] [Bug #10847]' # bug10847 = '[ruby-core:68093] [Bug #10847]'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment