Sha256: 8376f99bdf0ba84b4adf0ef160d090dd19b5fbfa6ad08f6bf06bc892f74cba0c
Contents?: true
Size: 399 Bytes
Versions: 1
Compression:
Stored size: 399 Bytes
Contents
require "sequel" module Shiki class Personality def initialize pattern_db @db = Sequel.sqlite pattern_db @tweets = @db[:tweets] @replies = @db[:replies] @locations = @db[:locations] end def tweets time_zone, week end def replies fear, interest end def random_location return @locations.to_a end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shiki-0.0.1 | lib/shiki/personality.rb |