In Files

  • mrbgems/mruby-time/mrblib/time.rb

Time

Public Instance Methods

friday?() click to toggle source
 
               # File mrbgems/mruby-time/mrblib/time.rb, line 7
def friday?;  wday == 5 end
            
monday?() click to toggle source
 
               # File mrbgems/mruby-time/mrblib/time.rb, line 3
def monday?;  wday == 1 end
            
saturday?() click to toggle source
 
               # File mrbgems/mruby-time/mrblib/time.rb, line 8
def saturday?;  wday == 6 end
            
sunday?() click to toggle source
 
               # File mrbgems/mruby-time/mrblib/time.rb, line 2
def sunday?;  wday == 0 end
            
thursday?() click to toggle source
 
               # File mrbgems/mruby-time/mrblib/time.rb, line 6
def thursday?;  wday == 4 end
            
tuesday?() click to toggle source
 
               # File mrbgems/mruby-time/mrblib/time.rb, line 4
def tuesday?;  wday == 2 end
            
wednesday?() click to toggle source
 
               # File mrbgems/mruby-time/mrblib/time.rb, line 5
def wednesday?;  wday == 3 end
            

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.

blog comments powered by Disqus