Module: Twitter2MixiVoice

Defined in:
lib/twitter_2_mixi_voice.rb,
lib/mixi.rb,
lib/tweet.rb,
lib/options.rb,
lib/application.rb,
lib/twitter_client.rb

Overview

This module is posted tweet of twitter to mixi voice.

Defined Under Namespace

Classes: Application, Mixi, MixiException, Options, Tweet, TwitterClient, TwitterException

Class Method Summary collapse

Class Method Details

.versionObject

Get Twitter2MixiVoice module version.



22
23
24
25
26
27
28
29
30
31
# File 'lib/twitter_2_mixi_voice.rb', line 22

def self.version
  version = nil
  begin
    version_path = File.join(File.dirname(__FILE__), "..", "VERSION")
    version = File.exist?(version_path) ? File.read(version_path) : ""
  rescue Exception => e
    version = ""
  end
  version
end