https://github.com/hfm/mruby-takosan
MRuby wrapper of Takosan
https://github.com/hfm/mruby-takosan
mruby
Last synced: 11 months ago
JSON representation
MRuby wrapper of Takosan
- Host: GitHub
- URL: https://github.com/hfm/mruby-takosan
- Owner: hfm
- License: other
- Created: 2016-03-25T13:38:33.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-11-27T10:21:14.000Z (about 7 years ago)
- Last Synced: 2025-02-12T07:54:24.606Z (about 1 year ago)
- Topics: mruby
- Language: Ruby
- Homepage:
- Size: 5.86 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
mruby-takosan [](https://travis-ci.org/hfm/mruby-takosan)
===
[mruby](https://github.com/mruby/mruby) wrapper of [Takosan](https://github.com/kentaro/takosan)
install by mrbgems
---
- add conf.gem line to `build_config.rb`
```ruby
MRuby::Build.new do |conf|
# ... (snip) ...
conf.gem :github => 'hfm/mruby-takosan'
end
```
example
---
```ruby
Takosan.new 'http://takosan.example.com:4749', '#all'
Takosan.privmsg 'hello'
# You can change Takosan's options.
Takosan.url = 'http://ikasan.example.com:4749'
Takosan.channel = '#ika_channel'
Takosan.name = 'ika'
Takosan.icon = ':splatoon:'
```
License
---
under the MIT License:
- see [LICENSE](./LICENSE) file