Sha256: eb8103fc73d2f1c77c03a2c08c0a2a5e017cb1e05c5f4cc903a5f242d9ab3fdd

Contents?: true

Size: 317 Bytes

Versions: 7

Compression:

Stored size: 317 Bytes

Contents

module Botolo
  module Bot
    class Behaviour
      def initialize(options={})
      end

      def say_hello
        puts "hello"
      end

      def say_foo
        puts "foo"
      end

      def tweet_hello
        return "" if $twitter_api.nil?
        $twitter_api.tweet("hello")
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
botolo-0.70.1 examples/dummy_bot.rb
botolo-0.70.0 examples/dummy_bot.rb
botolo-0.55.2 examples/dummy_bot.rb
botolo-0.55.1 examples/dummy_bot.rb
botolo-0.55.0 examples/dummy_bot.rb
botolo-0.50.1 examples/dummy_bot.rb
botolo-0.50.0 examples/dummy_bot.rb