Sha256: 8712c0bf67c57194194805694b31a2065616de18234d4856ca93cd84f80b43b4

Contents?: true

Size: 763 Bytes

Versions: 2

Compression:

Stored size: 763 Bytes

Contents

#Mona - 2ch library.
#Copyright (C) 2011- masarakki <masaki@hisme.net>
#
#== How to access 2ch.net
#
#first, create instance of Board.
#if you want to access to hayabusa2.2ch.net/news4vip,
# board = Mona::Board.new('hayabusa2', 'news4vip')
#then you can get list of Thread by
# threads = board.threads
#or if you know thread info, you can create Thread instance
# thread = Mona::Thread.new(:board => Mona::Board.new('hayabusa2', 'news4vip'), :id => 101010101)
#
module Mona
  autoload :Client, 'mona/client'
  autoload :Board, 'mona/board'
  autoload :Thread, 'mona/thread'
  autoload :Response, 'mona/response'

  VERSION_MAJOR = 0
  VERSION_MINOR = 1
  VERSION_PATCH = 0

  def self.version
    [VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH].join('.')
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mona-0.4.0 lib/mona.rb
mona-0.3.0 lib/mona.rb