Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sakuro-nethack_utils

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sakuro-nethack_utils

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

= Nethack utilities

== Usage

=== Time/Date operations require 'time' # for Time.parse require 'date' require 'nethack_utils'

  • Friday 13th test time = Time.parse('2009-03-13T00:00:00Z') time.friday_13th? #=> true date = Date.parse('2009-03-13') date.friday_13th? #=> true
  • Phase of the Moon test time = Time.parse('2009-03-13T00:00:00Z') time.full_moon? #=> true date = Date.parse('2009-03-27') date.new_moon? #=> true

=== Rumor/Fortune cookies require 'nethack_utils'

puts NethackUtils::Rumor.rumor #=> a true or false rumor puts NethackUtils::Rumor.rumor(1) #=> a true rumor puts NethackUtils::Rumor.rumor(0) #=> a false rumor

FAQs

Package last updated on 10 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc