ruby module sample updated