### Home Classes Methods

### In Files

- lib/plugins/aa.rb

### Methods

- ::make
- ::randSelect
- ::random

### Files

- ChangeLog
- README.rdoc

### Class/Module Index

Quicksearch

- Termtter
- Termtter::API
- Termtter::ActiveRubytter
- Termtter::Client
- Termtter::Client::DirectMessage
- Termtter::Client::Jakigan
- Termtter::Client::SearchEvent
- Termtter::Client::UserSearchEvent
- Termtter::Command
- Termtter::CommandCanceled
- Termtter::CommandLine
- Termtter::CommandNotFound
- Termtter::Config
- Termtter::ConfigSetup
- Termtter::Crypt
- Termtter::English
- Termtter::Event
- Termtter::HTTPpool
- Termtter::Hook
- Termtter::HookCanceled
- Termtter::Hookable
- Termtter::JSONError
- Termtter::MemoryCache
- Termtter::MemoryCache::MemCacheMock
- Termtter::OptParser
- Termtter::Plugin
- Termtter::Plugin::Screen
- Termtter::Plugins
- Termtter::Plugins::Haml
- Termtter::Plugins::ListSwitch
- Termtter::RubytterProxy
- Termtter::RubytterProxy::FrequentAccessError
- Termtter::RubytterProxy::LimitManager
- Termtter::Status
- Termtter::StdOut
- Termtter::Storage
- Termtter::Storage::SQLite3
- Termtter::Storage::Status
- Termtter::Task
- Termtter::TaskManager
- Termtter::TypableIdGenerator
- Termtter::UserStreamReceiver
- Yharian
- Yharian::Alex
- Yharian::Jenifer
- Yharian::Remark
- Yharian::Speaker
- Yharian::Vicki
- Yharian::Yhara
- HatenaKeywordHaiku
- HatenaKeywordHaiku::Word
- OAuth
- OAuth::AccessToken
- Readline
- Readline::LIBREADLINE
- AAMaker
- Array
- BrowserNotFound
- Growl
- IRB
- Object
- Status
- String
- Symbol
- TermColor
- TermtterIrcGateway
- User

No matching classes.

# AAMaker

### Public Class Methods

make() click to toggle source

    # File lib/plugins/aa.rb, line 11
    def self.make
      rinkaku = randSelect([['(', ')'], ['(', ')'], ['|', '|'], ['｜', '｜']]);
      otete = randSelect([['', '', '', '', ''], ['', '', 'm', '', ''], ['', '', 'ლ', '', ''], ['ლ', '', '', 'ლ', ''], ['', '｢', '', '', '｢'], ['', ' つ', '', '', 'つ'], ['', ' ', '', '', 'o彡ﾟ'], ['', 'n', '', '', 'η'], ['', '∩', '', '∩', ''], ['∩', '', '', '', '∩'], ['ヽ', '', '', '', 'ノ'], ['┐', '', '', '', '┌'], ['╮', '', '', '', '╭'], ['<', '', '', '', '/'], ['╰', '', '', ' ', ''], ['o', '', '', '', 'o'], ['o', '', '', '', 'ツ'], ['', '', '', '', 'ﾉｼ']]);
      omeme = randSelect([['◕', '◕'], ['╹', '╹'], ['＞', '＜'], ['＾', '＾'], ['・', '・'], ['´・', '・`'], ['`・', '・´'], ['´', '`'], ['≧', '≦'], ['ﾟ', 'ﾟ'], ['\', '\'], ['･ิ', '･ิ'], ['❛', '❛'], ['⊙', '⊙'], ['￣', '￣'], ['◕ˇ', 'ˇ◕']]);
      okuti = randSelect(['ω', '∀', '▽', '△', 'Д' , '□', '～', 'ー', 'ェ', 'ρ', 'o']);
      hoppe = randSelect([['', ''], ['*', ''], ['', '*'], ['', '#'], ['#', ''], ['✿', ''], ['', '✿'], ['', '；'], ['；', ''], ['｡', '｡'], ['｡', ''], ['', '｡'], ['▰', '▰'], ['', '▰'], ['▰', ''], ['๑', '๑'], ['', '๑'], ['๑', '']]);

      text = [
        otete[0],
        rinkaku[0],
        otete[1] || (otete[3] ? '' : hoppe[0]),
        omeme[0],
        otete[2] || okuti,
        omeme[1],
        otete[3] || (otete[1] ? '' : hoppe[1]),
        rinkaku[1],
        otete[4]
      ].join('')

      text
    end

randSelect(array) click to toggle source

    # File lib/plugins/aa.rb, line 7
    def self.randSelect(array)
      return array[random(array.length)]
    end

random(n) click to toggle source

view-source:amachang.sakura.ne.jp/misc/aamaker/

    # File lib/plugins/aa.rb, line 4
    def self.random(n)
      rand(n).to_i
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.