Module: Reddit

Defined in:
lib/ruby_reddit_api/vote.rb,
lib/ruby_reddit_api.rb,
lib/ruby_reddit_api/api.rb,
lib/ruby_reddit_api/base.rb,
lib/ruby_reddit_api/user.rb,
lib/ruby_reddit_api/thing.rb,
lib/ruby_reddit_api/comment.rb,
lib/ruby_reddit_api/message.rb,
lib/ruby_reddit_api/version.rb,
lib/ruby_reddit_api/voteable.rb,
lib/ruby_reddit_api/submission.rb,
lib/ruby_reddit_api/json_listing.rb,
lib/ruby_reddit_api/message_group.rb

Overview

Author:

  • James Cook

Defined Under Namespace

Modules: JsonListing, Voteable Classes: Api, Base, Comment, Message, MessageGroup, Submission, Thing, User, Vote

Constant Summary collapse

VERSION =

Capture the code version from the VERSION file

Returns:

  • (String)
File.exist?("VERSION") ? File.read("VERSION").chomp : ""