- User can register, signin, logout
- User A can send a jiecaobi to User B
- One user can only send 10 jiecaobi per month to others
- User can view all jiecaobi they got this month
- A monthly report for all users
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Telegram | |
attr_reader :elements | |
def initialize file | |
context = File.open(file).read | |
context.gsub!("\n", ' ') | |
@elements = context.split(' ') | |
end | |
def container |