├── .coveralls.yml ├── .gitignore ├── .travis.yml ├── CODE_OF_CONDUCT.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── bin ├── console └── setup ├── docs ├── README.template.md ├── basics.rb ├── data │ ├── users.json │ └── wrong_format.json ├── get_or_else.rb └── setup.rb ├── lib ├── ytry.rb └── ytry │ └── version.rb ├── test ├── scala_try_test.rb ├── test_helper.rb └── ytry_test.rb └── ytry.gemspec /.coveralls.yml: -------------------------------------------------------------------------------- 1 | service_name: travis-ci -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbarasti/ytry/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbarasti/ytry/HEAD/.travis.yml -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbarasti/ytry/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbarasti/ytry/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbarasti/ytry/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbarasti/ytry/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbarasti/ytry/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbarasti/ytry/HEAD/bin/console -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbarasti/ytry/HEAD/bin/setup -------------------------------------------------------------------------------- /docs/README.template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbarasti/ytry/HEAD/docs/README.template.md -------------------------------------------------------------------------------- /docs/basics.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbarasti/ytry/HEAD/docs/basics.rb -------------------------------------------------------------------------------- /docs/data/users.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbarasti/ytry/HEAD/docs/data/users.json -------------------------------------------------------------------------------- /docs/data/wrong_format.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbarasti/ytry/HEAD/docs/data/wrong_format.json -------------------------------------------------------------------------------- /docs/get_or_else.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbarasti/ytry/HEAD/docs/get_or_else.rb -------------------------------------------------------------------------------- /docs/setup.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbarasti/ytry/HEAD/docs/setup.rb -------------------------------------------------------------------------------- /lib/ytry.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbarasti/ytry/HEAD/lib/ytry.rb -------------------------------------------------------------------------------- /lib/ytry/version.rb: -------------------------------------------------------------------------------- 1 | module Ytry 2 | VERSION = "2.0.0" 3 | end 4 | -------------------------------------------------------------------------------- /test/scala_try_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbarasti/ytry/HEAD/test/scala_try_test.rb -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbarasti/ytry/HEAD/test/test_helper.rb -------------------------------------------------------------------------------- /test/ytry_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbarasti/ytry/HEAD/test/ytry_test.rb -------------------------------------------------------------------------------- /ytry.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lbarasti/ytry/HEAD/ytry.gemspec --------------------------------------------------------------------------------