string-inquirer
Version, currently master branch1 version
- master branchlatestMay 16, 2017
github.com/citizen428/string-inquirer
Crystal implementation of Rails' ActiveSupport::StringInquirer
0 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
string-inquirer:
github: citizen428/string-inquirer
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.22.0- License
- MIT
- Author
- Michael Kohl
Dependencies
This version declares no dependencies.
README
string-inquirer
Provides the same functionality as Rails' ActiveSupport::StringInquirer via the class String::Inquirer. Also provides String#inquiry as a convenience method for wrapping.
Installation
Add this to your application's shard.yml:
dependencies:
string-inquirer:
github: citizen428/string-inquirer
Usage
require "string-inquirer"
inquirer = String::Inquirer.new("test")
inquirer.test? #=> true
inquirer.foo? #=> false
Convenience wraper:
wrapped = "test".inquiry
wrapped.test? #=> true
wrapped.foo? #=> false
Contributing
- Fork it ( https://github.com/citizen428/string-inquirer/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- citizen428 Michael Kohl - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- May 16, 2017
- Crystal
0.22.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/citizen428/string-inquirer
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 16, 2026
- Synced
- Aug 16, 2026
- Versions
- 1