To Craft a Gem…

gem example-gem-name-goes-here
Unlimited Power!
like_so.rb
Gem::Specification.new do |s|s.name        = 'your_gem's.version     = '0.0.0's.description = "The Best Gem You've Ever Made"s.authors     = ["Thanos"]s.files       = ["lib/your_gem.rb"]s.homepage    = 'https://rubygems.org/gems/your-gem'end
class Timestone
end
require 'timestone'Timestone.what_ever_your_method_name_is
def new_methodp "You made your very first method!"end

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store