banjun / ikemen

Swift way of Ruby Object#tap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

※ikemen

CI Version License Platform

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

※ikemen introduces operator that works as Object#tap in Ruby.

import Ikemen
let r = Rabbit()  {$0.ikemen = true}

Requirements

Installation

※ikemen is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "※ikemen"

Author

banjun

License

※ikemen is available under the MIT license. See the LICENSE file for more info.

About

Swift way of Ruby Object#tap

License:MIT License


Languages

Language:Swift 78.0%Language:Ruby 22.0%