Skip to content

pyama86/mruby-capacity

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

mruby-capacity Build Status

Build Status

Provides interface method of capacity of String class and array class.

install by mrbgems

  • add conf.gem line to build_config.rb
MRuby::Build.new do |conf|

    # ... (snip) ...

    conf.gem :github => 'pyama86/mruby-capacity'
end

example

s = "example"
s.capacity
=> 23
s.capacity = 100
=> 100

License

under the MIT License:

  • see LICENSE file

About

mruby capacity interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published