Permalink
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (15 sloc) 287 Bytes
module X
module Docs
class CLI
%w(overview install linux mac windows).each do |topic|
define_method topic do
read topic
end
end
private
def read(topic)
File.read("./x/docs/md/cli/#{topic}.md")
end
end
end
end