Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ankane/tokenizers-ruby
/ no_padding
Method
no_padding
ext/tokenizers/src/tokenizer.rs:483–486 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
481
}
482
483
pub fn no_padding(&self) -> RbResult<()> {
484
self.write_inner()?.with_padding(None);
485
Ok(())
486
}
487
488
pub fn get_padding(ruby: &Ruby, rb_self: &Self) -> RbResult<Option<RHash>> {
489
rb_self
Callers
1
test_padding
Method · 0.80
Calls
1
write_inner
Method · 0.80
Tested by
1
test_padding
Method · 0.64