With the second puts statement (puts stands for put string), Ruby processes two substitutions.
在第二个puts语句中(puts代表put string),Ruby处理了两次替换。
They spend weeks looking through the dirt for pottery, COINS, statues... They put string over the holes to help them make maps.
他们花数周的时间在泥土里寻找陶器、硬币、雕像…他们在洞的上面拉上绳子,来帮助他们制图。
As noted previously, PUT requests are used to indicate a modification to an existing resource and, as such, include a resource identifier in the request string.
正如前面所提到的,PUT请求用于指出对现有资源的修改,并且同样在请求字符串中包含资源标识符。
You also could put the String itself into the array when you use the invoke method.
您也可以在使用invoke方法时将字符串自身放入数组中。
To convert a JSON string from the body of a POST or PUT into a JSON object, use the syntax.
将POST或者PUT主体中的JSON字符串转换为JSON对象,采用如下语法。
Once you have an instance of a logger for this class; or better, put a filter string, you can update it to the desired level.
获得该类的logger实例后;或者更好,您设置了一个过滤器字符串,那么您可以将其更新到所需的级别。
The variant with the PreparedStatement is more elegant regarding the coding, as no string arithmetic is required to put the values for STATE and TYPE in the SQL statement.
使用 PreparedStatement 的那种代码片段在编码方面更为优雅,因为在将STATE和TYPE的值置入SQL语句时,不需要进行字符串运算。
Therefore, to put the message into the proper format for the outbound service, P1S1Transform must use the format string.
因此,为了将SOAP消息的格式转换为出站服务的适当格式,P1S1Transform必须使用格式字符串。
The QueryParser takes a query string, much like what you'd put into an Internet search engine, and generates a Query object.
QueryParser 拿到一个查询字符串,就像你放进Internet搜索引擎中的,生成一个Query对象。
Once you get all this put together, all you need to do is call send() and pass in the XML string.
完成这些之后,剩下的就是调用send()并传入XML字符串了。
We put in here a tension meter, we put in here a tension meter and the bottom one, we hang on a string with a tension meter and then here we put four kilograms.
这儿放个张力计,这里也要一个,底下也有,一个张力计,挂着4kg物体。
No matter what data format you put into these functions, they will always return a string.
无论您将哪种数据格式传入这些函数,它们将始终返回字符串。
So it's a useful way of not quite knowing in advance what you want to put in a string, but being able to create strings, phrases, sentences, dynamically.
这是一个很有用的方法,如果你之前不是很了解,在句子中要加入什么,但是这个方法可以,动态地创建字符串,短语,句子。
A better choice is to put the configuration values into a single JSON object and store the serialized string of this JSON object.
一个更好的选择是将配置值放入单个JSON对象并存储此json对象的序列化字符串。
Or, to put it another way, what really killed the dinosaurs was a string of the most atrocious bad luck.
或者,换言之,真正让恐龙灭绝的是一连串极端不幸的不幸。
I'm going to put an object now on an incline again, as we did before and instead of having it sit on its own I'm going to attach to it a string.
和之前一样,还是把物体放在斜面上,这次不单独拿上来,我要把它和细绳相连。
This involves converting the JSON object into a string that can be put in the HTTP POST request body.
这包括将JSON对象转换成可放入HTTPPOST请求体中的字符串。
For example, if you have a box designed to hold values of type int, you cannot put values of type string into that box.
例如,如果你有一个设计用来放入类型是int的值的盒子,你就不能把类型是string的值放入那个盒子。
Because fault contains a single string field, you might prefer to go the simple route and put the string directly in the fault element rather than to go through t: fault to get to the string.
因为fault包含单一字符串字段,您可能更愿意采用简单的路由,并将字符串直接放入错误元素中,而不是通过t: fault获得该字符串。
Not to mention that there is no potential for data corruption (hard in the case of String references, but still a concern) as messages are put in and taken out of the buffer.
数据破坏的可能性就更不用提了(在String引用的例子中很困难,但仍然值得注意),因为数据会由put放入缓冲区,并由 take取出。
Notice that the time stamp isn't put in lowercase but the String parameter is.
注意,时间戳并未使用小写形式,而String参数变为了小写形式。
Put the lid on. Cover the container with a big plastic sheet and tie it closed with some string or twine around the middle of the container.
盖上盖子。用大塑料布盖住容器,并用绳子将塑料布固定在容器上。
If it were only a gem, I could break it into a hundred pieces and string them into a chain to put on your neck.
假如它是一块宝石,我就能把它碎成千百颗粒,串成项链,戴在你的脖子上。
String length check: put excess of characters in a input box should support and make sure it is not taking that.
字符串长度检查:在输入框输入超出长度的字符串将会被允许,但要确保它不被程序通过。
Establish the erosive wear mechanism of drilling string in air drilling and put forward that erosion wear is a substantial cause to promote drill string failure.
初步确立了空气钻井钻柱冲蚀磨损机理,提出钻屑冲蚀是促使钻具失效的一项重要原因。
When a regex is put to use, the first step is to determine the position within the target string where the search should start.
当一个正则表达式投入使用时,首先要确定目标字符串中开始搜索的位置。
You would probably begin by comparing each string in the list with the string other, but when put into application, you would find that this method is far too slow for practical use.
你可能会对数组中的每一个字符串进行比较,但是在实际项目中,你会发现这种做法对某些特殊应用来说太慢了。
You would probably begin by comparing each string in the list with the string other, but when put into application, you would find that this method is far too slow for practical use.
你可能会对数组中的每一个字符串进行比较,但是在实际项目中,你会发现这种做法对某些特殊应用来说太慢了。
应用推荐