Skip to content

Instantly share code, notes, and snippets.

@andrew
Created December 2, 2014 18:10
Show Gist options
  • Save andrew/3ad334e4618855ea1a89 to your computer and use it in GitHub Desktop.
Save andrew/3ad334e4618855ea1a89 to your computer and use it in GitHub Desktop.
module Pi
def self.area(radius)
Math::PI*radius*radius
end
end
EXPORTS = Pi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment