-
-
Save osyo-manga/b6f6fb633a27d65c91982257c0ac4b65 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Akaden | |
class Station < Struct.new(:name) | |
def info | |
end | |
def timetable | |
end | |
end | |
def self.get(name) | |
Station.new(name) | |
end | |
def self.shin_hamamatsu | |
Station.new(:shin_hamamatsu) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment